#F0D477#F0D477
#F0D477 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.4% C 0.117 H 93.1°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D477 |
|---|---|
| RGB | rgb(240, 212, 119) |
| HSL | hsl(46, 80%, 70%) |
| HSV | hsv(46, 50%, 94%) |
| CMYK | cmyk(0%, 11.7%, 50.4%, 5.9%) |
| CIE-LAB | lab(85.48, -1.89, 49.21) |
| CIE-LCH | lch(85.48, 49.25, 92.20°) |
| OKLab | oklab(87.42% -0.0063 0.1172) |
| OKLCH | oklch(87.42% 0.117 93.1) |
| XYZ | xyz(62.8106, 66.9469, 27.0627) |
| Luminance | 0.6694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.93
Wheat (survey)
#FBDD7E
ΔE00 2.18
Sand (survey)
#E2CA76
ΔE00 2.95
Light Mustard
#F7D560
ΔE00 3.41
Pale Gold
#FDDE6C
ΔE00 3.62
Maize
#F4D054
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D477 #7793F0
analogous
#F09877 #F0D477 #CFF077
triadic
#F0D477 #77F0D4 #D477F0
tetradic
#F0D477 #77F098 #7793F0 #F077CF
square
#F0D477 #77F098 #7793F0 #F077CF
split-complementary
#F0D477 #77CFF0 #9877F0
monochromatic
#D5A918 #EAC340 #F0D477 #F6E5AE #FCF6E3
Accessibility & contrast
On white
1.46
#F0D477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#F0D477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D477
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D477 | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#EDD97B
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d477; /* rgb */ color: rgb(240, 212, 119); /* oklch */ color: oklch(87.4% 0.117 93.1);
Tailwind
colors: {
custom: {
50: '#f7e1a0',
500: '#f0d477',
950: '#000000',
},
}SCSS
$custom: #f0d477; $custom-light: #f7e1a0; $custom-dark: #000000;
JSON
{
"hex": "#f0d477",
"rgb": {
"r": 240,
"g": 212,
"b": 119
},
"hsl": {
"h": 46.116,
"s": 80.132,
"l": 70.392
},
"oklch": {
"l": 0.87422,
"c": 0.11735,
"h": 93.1
},
"luminance": 0.66944
}Semantic roles & 50–950 ramp
primary
#F0D477
secondary
#4261CA
accent
#3ADC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480