#F0D670#F0D670
#F0D670 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.126 H 95.3°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D670 |
|---|---|
| RGB | rgb(240, 214, 112) |
| HSL | hsl(48, 81%, 69%) |
| HSV | hsv(48, 53%, 94%) |
| CMYK | cmyk(0%, 10.8%, 53.3%, 5.9%) |
| CIE-LAB | lab(85.90, -3.49, 53.07) |
| CIE-LCH | lch(85.90, 53.18, 93.76°) |
| OKLab | oklab(87.73% -0.0117 0.125) |
| OKLCH | oklch(87.73% 0.126 95.3) |
| XYZ | xyz(62.9087, 67.7910, 25.0974) |
| Luminance | 0.6779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.43
Wheat (survey)
#FBDD7E
ΔE00 2.44
Pale Gold
#FDDE6C
ΔE00 2.70
Light Mustard
#F7D560
ΔE00 2.70
Yellow Tan
#FFE36E
ΔE00 3.46
Sand Yellow
#FCE166
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D670 #708AF0
analogous
#F09670 #F0D670 #CAF070
triadic
#F0D670 #70F0D6 #D670F0
tetradic
#F0D670 #70F096 #708AF0 #F070CA
square
#F0D670 #70F096 #708AF0 #F070CA
split-complementary
#F0D670 #70CAF0 #9670F0
monochromatic
#D0AA16 #EAC639 #F0D670 #F6E6A7 #FCF6DF
Accessibility & contrast
On white
1.44
#F0D670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.56
#F0D670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D670
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D670 | 1.00 | 1.44 | 14.56 | 14.56 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#EFDA74
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d670; /* rgb */ color: rgb(240, 214, 112); /* oklch */ color: oklch(87.7% 0.126 95.3);
Tailwind
colors: {
custom: {
50: '#f7e29b',
500: '#f0d670',
950: '#000000',
},
}SCSS
$custom: #f0d670; $custom-light: #f7e29b; $custom-dark: #000000;
JSON
{
"hex": "#f0d670",
"rgb": {
"r": 240,
"g": 214,
"b": 112
},
"hsl": {
"h": 47.813,
"s": 81.013,
"l": 69.02
},
"oklch": {
"l": 0.87731,
"c": 0.12555,
"h": 95.3
},
"luminance": 0.67788
}Semantic roles & 50–950 ramp
primary
#F0D670
secondary
#3B58C9
accent
#33DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F