#F0D666#F0D666
#F0D666 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.6% C 0.135 H 96.4°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D666 |
|---|---|
| RGB | rgb(240, 214, 102) |
| HSL | hsl(49, 82%, 67%) |
| HSV | hsv(49, 58%, 94%) |
| CMYK | cmyk(0%, 10.8%, 57.5%, 5.9%) |
| CIE-LAB | lab(85.80, -4.26, 57.57) |
| CIE-LCH | lch(85.80, 57.73, 94.23°) |
| OKLab | oklab(87.61% -0.015 0.1337) |
| OKLCH | oklch(87.61% 0.135 96.4) |
| XYZ | xyz(62.3825, 67.5805, 22.3262) |
| Luminance | 0.6758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.17
Pale Gold
#FDDE6C
ΔE00 2.38
Sandy
#F1DA7A
ΔE00 2.46
Sand Yellow
#FCE166
ΔE00 2.76
Light Gold
#FDDC5C
ΔE00 2.89
Yellow Tan
#FFE36E
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D666 #6680F0
analogous
#F09166 #F0D666 #C5F066
triadic
#F0D666 #66F0D6 #D666F0
tetradic
#F0D666 #66F091 #6680F0 #F066C5
square
#F0D666 #66F091 #6680F0 #F066C5
split-complementary
#F0D666 #66C5F0 #9166F0
monochromatic
#C8A614 #EBC72E #F0D666 #F5E59E #FBF4D5
Accessibility & contrast
On white
1.45
#F0D666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.52
#F0D666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D666
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D666 | 1.00 | 1.45 | 14.52 | 14.52 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#F0DA6B
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d666; /* rgb */ color: rgb(240, 214, 102); /* oklch */ color: oklch(87.6% 0.135 96.4);
Tailwind
colors: {
custom: {
50: '#f8e295',
500: '#f0d666',
950: '#000000',
},
}SCSS
$custom: #f0d666; $custom-light: #f8e295; $custom-dark: #000000;
JSON
{
"hex": "#f0d666",
"rgb": {
"r": 240,
"g": 214,
"b": 102
},
"hsl": {
"h": 48.696,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.87614,
"c": 0.13455,
"h": 96.4
},
"luminance": 0.67578
}Semantic roles & 50–950 ramp
primary
#F0D666
secondary
#3550C5
accent
#30DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F