#F0CF62#F0CF62
#F0CF62 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.2% C 0.133 H 92.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF62 |
|---|---|
| RGB | rgb(240, 207, 98) |
| HSL | hsl(46, 83%, 66%) |
| HSV | hsv(46, 59%, 94%) |
| CMYK | cmyk(0%, 13.7%, 59.2%, 5.9%) |
| CIE-LAB | lab(83.98, -0.97, 57.33) |
| CIE-LCH | lch(83.98, 57.34, 90.97°) |
| OKLab | oklab(86.17% -0.006 0.1327) |
| OKLCH | oklch(86.17% 0.133 92.6) |
| XYZ | xyz(60.4553, 64.0358, 20.7287) |
| Luminance | 0.6403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.70
Maize
#F4D054
ΔE00 1.85
Pale Gold
#FDDE6C
ΔE00 3.44
Light Gold
#FDDC5C
ΔE00 3.65
Wheat (survey)
#FBDD7E
ΔE00 3.79
Sandy
#F1DA7A
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF62 #6283F0
analogous
#F08862 #F0CF62 #CAF062
triadic
#F0CF62 #62F0CF #CF62F0
tetradic
#F0CF62 #62F088 #6283F0 #F062CA
square
#F0CF62 #62F088 #6283F0 #F062CA
split-complementary
#F0CF62 #62CAF0 #8862F0
monochromatic
#C59B13 #EBBE2A #F0CF62 #F5E09A #FBF1D2
Accessibility & contrast
On white
1.52
#F0CF62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.81
#F0CF62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF62
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF62 | 1.00 | 1.52 | 13.81 | 13.81 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf62; /* rgb */ color: rgb(240, 207, 98); /* oklch */ color: oklch(86.2% 0.133 92.6);
Tailwind
colors: {
custom: {
50: '#f8dd92',
500: '#f0cf62',
950: '#000000',
},
}SCSS
$custom: #f0cf62; $custom-light: #f8dd92; $custom-dark: #000000;
JSON
{
"hex": "#f0cf62",
"rgb": {
"r": 240,
"g": 207,
"b": 98
},
"hsl": {
"h": 46.056,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.86169,
"c": 0.13285,
"h": 92.6
},
"luminance": 0.64033
}Semantic roles & 50–950 ramp
primary
#F0CF62
secondary
#3455C2
accent
#39DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F