Yellow

#FAFA1E

Yellow

Color Codes

All color formats for development

HEX
#FAFA1E
RGB
rgb(250, 250, 30)
HSL
hsl(60, 96%, 55%)
OKLCH
oklch(0.954 0.204 109.7)
CMYK
cmyk(0%, 0%, 88%, 2%)

Accessibility

WCAG contrast compliance

On White Background

1.12:1

AA AAA

On Black Background

18.76:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FFFF
100
#FEFE
200
#FEFE
300
#FDFD
400
#FBFB
500
#FAFA
600
#DCDC
700
#AFAF
800
#7D7D
900
#5050
950
#3232

Shades

Darker variations

1#F7F705
2#DCDC04
3#C0C004
4#A5A503
5#898903
6#6E6E02
7#525202
8#373701
9#1B1B01

Tints

Lighter variations

1#FBFB35
2#FBFB4B
3#FCFC62
4#FCFC78
5#FDFD8F
6#FDFDA5
7#FEFEBC
8#FEFED2
9#FFFFE9

Tones

Muted variations

1#EFEF29
2#E4E434
3#D9D93F
4#CECE4A
5#C3C355
6#B8B860
7#ADAD6B
8#A2A276
9#979781

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FFFF
#FFFFF0
BackgroundsSubtle highlightsCard backgrounds
100
FEFE
#FEFEDC
Light backgroundsTable row hoverSkeleton loading
200
FEFE
#FEFEBE
Secondary backgroundsInput backgroundsDividers
300
FDFD
#FDFD8C
BordersInactive statesPlaceholder text
400
FBFB
#FBFB50
Disabled statesSecondary iconsMuted text
500
FAFA
#FAFA1E
Primary brand colorCTAsActive elementsLinks
600
DCDC
#DCDC04
Hover statesFocus ringsPrimary buttons hover
700
AFAF
#AFAF04
Active/pressed statesDark mode accentsSecondary text
800
7D7D
#7D7D03
Text on light backgroundsHeadingsStrong borders
900
5050
#505002
Primary textHigh emphasis contentDark headings
950
3232
#323201
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --yellow-50: #FFFFF0;
  --yellow-100: #FEFEDC;
  --yellow-200: #FEFEBE;
  --yellow-300: #FDFD8C;
  --yellow-400: #FBFB50;
  --yellow-500: #FAFA1E;
  --yellow-600: #DCDC04;
  --yellow-700: #AFAF04;
  --yellow-800: #7D7D03;
  --yellow-900: #505002;
  --yellow-950: #323201;
}
Generate More ShadesCreate PaletteConvert Color