#F0D166#F0D166
#F0D166 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.131 H 93.4°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D166 |
|---|---|
| RGB | rgb(240, 209, 102) |
| HSL | hsl(47, 82%, 67%) |
| HSV | hsv(47, 58%, 94%) |
| CMYK | cmyk(0%, 12.9%, 57.5%, 5.9%) |
| CIE-LAB | lab(84.53, -1.71, 56.13) |
| CIE-LCH | lch(84.53, 56.15, 91.74°) |
| OKLab | oklab(86.61% -0.0076 0.1306) |
| OKLCH | oklch(86.61% 0.131 93.4) |
| XYZ | xyz(61.1365, 65.0885, 21.9109) |
| Luminance | 0.6509 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.68
Maize
#F4D054
ΔE00 2.27
Pale Gold
#FDDE6C
ΔE00 3.04
Sandy
#F1DA7A
ΔE00 3.16
Wheat (survey)
#FBDD7E
ΔE00 3.28
Light Gold
#FDDC5C
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D166 #6685F0
analogous
#F08C66 #F0D166 #CAF066
triadic
#F0D166 #66F0D1 #D166F0
tetradic
#F0D166 #66F08C #6685F0 #F066CA
square
#F0D166 #66F08C #6685F0 #F066CA
split-complementary
#F0D166 #66CAF0 #8C66F0
monochromatic
#C89F14 #EBC02E #F0D166 #F5E29E #FBF3D5
Accessibility & contrast
On white
1.50
#F0D166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.02
#F0D166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D166
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D166 | 1.00 | 1.50 | 14.02 | 14.02 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CE5B
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f0d166; /* rgb */ color: rgb(240, 209, 102); /* oklch */ color: oklch(86.6% 0.131 93.4);
Tailwind
colors: {
custom: {
50: '#f8de95',
500: '#f0d166',
950: '#000000',
},
}SCSS
$custom: #f0d166; $custom-light: #f8de95; $custom-dark: #000000;
JSON
{
"hex": "#f0d166",
"rgb": {
"r": 240,
"g": 209,
"b": 102
},
"hsl": {
"h": 46.522,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.86612,
"c": 0.13082,
"h": 93.4
},
"luminance": 0.65086
}Semantic roles & 50–950 ramp
primary
#F0D166
secondary
#3555C5
accent
#37DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F