#F0D262#F0D262
#F0D262 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.135 H 94.4°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D262 |
|---|---|
| RGB | rgb(240, 210, 98) |
| HSL | hsl(47, 83%, 66%) |
| HSV | hsv(47, 59%, 94%) |
| CMYK | cmyk(0%, 12.5%, 59.2%, 5.9%) |
| CIE-LAB | lab(84.74, -2.50, 58.19) |
| CIE-LCH | lch(84.74, 58.24, 92.46°) |
| OKLab | oklab(86.77% -0.0104 0.1346) |
| OKLCH | oklch(86.77% 0.135 94.4) |
| XYZ | xyz(61.1890, 65.5033, 20.9733) |
| Luminance | 0.6550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.41
Maize
#F4D054
ΔE00 2.00
Pale Gold
#FDDE6C
ΔE00 2.77
Light Gold
#FDDC5C
ΔE00 2.99
Sandy
#F1DA7A
ΔE00 3.24
Wheat (survey)
#FBDD7E
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D262 #6280F0
analogous
#F08B62 #F0D262 #C7F062
triadic
#F0D262 #62F0D2 #D262F0
tetradic
#F0D262 #62F08B #6280F0 #F062C7
square
#F0D262 #62F08B #6280F0 #F062C7
split-complementary
#F0D262 #62C7F0 #8B62F0
monochromatic
#C59F13 #EBC22A #F0D262 #F5E29A #FBF2D2
Accessibility & contrast
On white
1.49
#F0D262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.10
#F0D262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D262
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D262 | 1.00 | 1.49 | 14.10 | 14.10 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#EDD867
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f0d262; /* rgb */ color: rgb(240, 210, 98); /* oklch */ color: oklch(86.8% 0.135 94.4);
Tailwind
colors: {
custom: {
50: '#f8df92',
500: '#f0d262',
950: '#000000',
},
}SCSS
$custom: #f0d262; $custom-light: #f8df92; $custom-dark: #000000;
JSON
{
"hex": "#f0d262",
"rgb": {
"r": 240,
"g": 210,
"b": 98
},
"hsl": {
"h": 47.324,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.86768,
"c": 0.13496,
"h": 94.4
},
"luminance": 0.655
}Semantic roles & 50–950 ramp
primary
#F0D262
secondary
#3452C2
accent
#34DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F