#F0D062#F0D062
#F0D062 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.4% C 0.134 H 93.2°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D062 |
|---|---|
| RGB | rgb(240, 208, 98) |
| HSL | hsl(46, 83%, 66%) |
| HSV | hsv(46, 59%, 94%) |
| CMYK | cmyk(0%, 13.3%, 59.2%, 5.9%) |
| CIE-LAB | lab(84.24, -1.48, 57.62) |
| CIE-LCH | lch(84.24, 57.64, 91.47°) |
| OKLab | oklab(86.37% -0.0075 0.1333) |
| OKLCH | oklch(86.37% 0.134 93.2) |
| XYZ | xyz(60.6983, 64.5219, 20.8097) |
| Luminance | 0.6452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.51
Maize
#F4D054
ΔE00 1.83
Pale Gold
#FDDE6C
ΔE00 3.19
Light Gold
#FDDC5C
ΔE00 3.40
Sandy
#F1DA7A
ΔE00 3.62
Wheat (survey)
#FBDD7E
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D062 #6282F0
analogous
#F08962 #F0D062 #C9F062
triadic
#F0D062 #62F0D0 #D062F0
tetradic
#F0D062 #62F089 #6282F0 #F062C9
square
#F0D062 #62F089 #6282F0 #F062C9
split-complementary
#F0D062 #62C9F0 #8962F0
monochromatic
#C59D13 #EBBF2A #F0D062 #F5E19A #FBF1D2
Accessibility & contrast
On white
1.51
#F0D062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.90
#F0D062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D062
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D062 | 1.00 | 1.51 | 13.90 | 13.90 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CD57
Deuteranopia (green-blind)
#ECD667
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f0d062; /* rgb */ color: rgb(240, 208, 98); /* oklch */ color: oklch(86.4% 0.134 93.2);
Tailwind
colors: {
custom: {
50: '#f8de92',
500: '#f0d062',
950: '#000000',
},
}SCSS
$custom: #f0d062; $custom-light: #f8de92; $custom-dark: #000000;
JSON
{
"hex": "#f0d062",
"rgb": {
"r": 240,
"g": 208,
"b": 98
},
"hsl": {
"h": 46.479,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.86368,
"c": 0.13355,
"h": 93.2
},
"luminance": 0.64519
}Semantic roles & 50–950 ramp
primary
#F0D062
secondary
#3454C2
accent
#37DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F