Gold

#F0D228

Yellow

Color Codes

All color formats for development

HEX
#F0D228
RGB
rgb(240, 210, 40)
HSL
hsl(51, 87%, 55%)
OKLCH
oklch(0.864 0.17 98.1)
CMYK
cmyk(0%, 13%, 83%, 6%)

Accessibility

WCAG contrast compliance

On White Background

1.50:1

AA AAA

On Black Background

13.95:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FEFC
100
#FDF8
200
#FBF2
300
#F7E8
400
#F3DC
500
#F0D2
600
#D2B5
700
#A790
800
#7767
900
#4C42
950
#3029

Shades

Darker variations

1#ECCB10
2#D2B50F
3#B89E0D
4#9D870B
5#837109
6#695A07
7#4F4405
8#342D04
9#1A1702

Tints

Lighter variations

1#F2D73E
2#F3DB53
3#F5E069
4#F6E47E
5#F8E994
6#F9EDA9
7#FBF2BF
8#FCF6D4
9#FEFBEA

Tones

Muted variations

1#E6CB32
2#DCC43C
3#D2BD46
4#C8B650
5#BEAF5A
6#B4A864
7#AAA16E
8#A09A78
9#969382

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FEFC
#FEFCF1
BackgroundsSubtle highlightsCard backgrounds
100
FDF8
#FDF8DE
Light backgroundsTable row hoverSkeleton loading
200
FBF2
#FBF2C1
Secondary backgroundsInput backgroundsDividers
300
F7E8
#F7E891
BordersInactive statesPlaceholder text
400
F3DC
#F3DC58
Disabled statesSecondary iconsMuted text
500
F0D2
#F0D228
Primary brand colorCTAsActive elementsLinks
600
D2B5
#D2B50F
Hover statesFocus ringsPrimary buttons hover
700
A790
#A7900C
Active/pressed statesDark mode accentsSecondary text
800
7767
#776708
Text on light backgroundsHeadingsStrong borders
900
4C42
#4C4205
Primary textHigh emphasis contentDark headings
950
3029
#302903
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --gold-50: #FEFCF1;
  --gold-100: #FDF8DE;
  --gold-200: #FBF2C1;
  --gold-300: #F7E891;
  --gold-400: #F3DC58;
  --gold-500: #F0D228;
  --gold-600: #D2B50F;
  --gold-700: #A7900C;
  --gold-800: #776708;
  --gold-900: #4C4205;
  --gold-950: #302903;
}
Generate More ShadesCreate PaletteConvert Color