Gold

#D4C70C

Yellow

Color Codes

All color formats for development

HEX
#D4C70C
RGB
rgb(212, 199, 12)
HSL
hsl(56, 89%, 44%)
OKLCH
oklch(0.815 0.171 104.8)
CMYK
cmyk(0%, 6%, 94%, 17%)

Accessibility

WCAG contrast compliance

On White Background

1.75:1

AA AAA

On Black Background

11.97:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FEFD
100
#FDFB
200
#FBF7
300
#F9F2
400
#F5EB
500
#F2E5
600
#D4C7
700
#A99E
800
#7871
900
#4D48
950
#302D

Shades

Darker variations

1#BFB30B
2#AA9F0A
3#948B09
4#7F7707
5#6A6306
6#554F05
7#403C04
8#2A2802
9#151401

Tints

Lighter variations

1#EFE00E
2#F2E527
3#F4E842
4#F6EB5D
5#F7EF78
6#F9F293
7#FAF5AE
8#FCF8C9
9#FDFCE4

Tones

Muted variations

1#CABE16
2#C0B520
3#B6AD2A
4#ACA434
5#A29B3E
6#989348
7#8E8A52
8#84825C
9#7A7966

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FEFD
#FEFDF1
BackgroundsSubtle highlightsCard backgrounds
100
FDFB
#FDFBDD
Light backgroundsTable row hoverSkeleton loading
200
FBF7
#FBF7C0
Secondary backgroundsInput backgroundsDividers
300
F9F2
#F9F290
BordersInactive statesPlaceholder text
400
F5EB
#F5EB56
Disabled statesSecondary iconsMuted text
500
F2E5
#F2E526
Primary brand colorCTAsActive elementsLinks
600
D4C7
#D4C70C
Hover statesFocus ringsPrimary buttons hover
700
A99E
#A99E0A
Active/pressed statesDark mode accentsSecondary text
800
7871
#787107
Text on light backgroundsHeadingsStrong borders
900
4D48
#4D4804
Primary textHigh emphasis contentDark headings
950
302D
#302D03
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --gold-50: #FEFDF1;
  --gold-100: #FDFBDD;
  --gold-200: #FBF7C0;
  --gold-300: #F9F290;
  --gold-400: #F5EB56;
  --gold-500: #F2E526;
  --gold-600: #D4C70C;
  --gold-700: #A99E0A;
  --gold-800: #787107;
  --gold-900: #4D4804;
  --gold-950: #302D03;
}
Generate More ShadesCreate PaletteConvert Color