#F0D266#F0D266
#F0D266 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.8% C 0.132 H 94.0°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D266 |
|---|---|
| RGB | rgb(240, 210, 102) |
| HSL | hsl(47, 82%, 67%) |
| HSV | hsv(47, 58%, 94%) |
| CMYK | cmyk(0%, 12.5%, 57.5%, 5.9%) |
| CIE-LAB | lab(84.78, -2.22, 56.42) |
| CIE-LCH | lch(84.78, 56.46, 92.25°) |
| OKLab | oklab(86.81% -0.0091 0.1312) |
| OKLCH | oklch(86.81% 0.132 94) |
| XYZ | xyz(61.3826, 65.5807, 21.9929) |
| Luminance | 0.6558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.63
Maize
#F4D054
ΔE00 2.34
Pale Gold
#FDDE6C
ΔE00 2.82
Sandy
#F1DA7A
ΔE00 2.94
Wheat (survey)
#FBDD7E
ΔE00 3.22
Light Gold
#FDDC5C
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D266 #6684F0
analogous
#F08D66 #F0D266 #C9F066
triadic
#F0D266 #66F0D2 #D266F0
tetradic
#F0D266 #66F08D #6684F0 #F066C9
square
#F0D266 #66F08D #6684F0 #F066C9
split-complementary
#F0D266 #66C9F0 #8D66F0
monochromatic
#C8A114 #EBC22E #F0D266 #F5E29E #FBF3D5
Accessibility & contrast
On white
1.49
#F0D266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.12
#F0D266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D266
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D266 | 1.00 | 1.49 | 14.12 | 14.12 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE5B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f0d266; /* rgb */ color: rgb(240, 210, 102); /* oklch */ color: oklch(86.8% 0.132 94.0);
Tailwind
colors: {
custom: {
50: '#f8df95',
500: '#f0d266',
950: '#000000',
},
}SCSS
$custom: #f0d266; $custom-light: #f8df95; $custom-dark: #000000;
JSON
{
"hex": "#f0d266",
"rgb": {
"r": 240,
"g": 210,
"b": 102
},
"hsl": {
"h": 46.957,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.86812,
"c": 0.13154,
"h": 94
},
"luminance": 0.65578
}Semantic roles & 50–950 ramp
primary
#F0D266
secondary
#3554C5
accent
#36DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F