#F0CF61#F0CF61
#F0CF61 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.2% C 0.134 H 92.7°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF61 |
|---|---|
| RGB | rgb(240, 207, 97) |
| HSL | hsl(46, 83%, 66%) |
| HSV | hsv(46, 60%, 94%) |
| CMYK | cmyk(0%, 13.7%, 59.6%, 5.9%) |
| CIE-LAB | lab(83.97, -1.04, 57.78) |
| CIE-LCH | lch(83.97, 57.78, 91.03°) |
| OKLab | oklab(86.16% -0.0063 0.1336) |
| OKLCH | oklch(86.16% 0.134 92.7) |
| XYZ | xyz(60.4083, 64.0171, 20.4816) |
| Luminance | 0.6401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.63
Maize
#F4D054
ΔE00 1.74
Pale Gold
#FDDE6C
ΔE00 3.42
Light Gold
#FDDC5C
ΔE00 3.58
Wheat (survey)
#FBDD7E
ΔE00 3.87
Sandy
#F1DA7A
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF61 #6182F0
analogous
#F08761 #F0CF61 #C9F061
triadic
#F0CF61 #61F0CF #CF61F0
tetradic
#F0CF61 #61F087 #6182F0 #F061C9
square
#F0CF61 #61F087 #6182F0 #F061C9
split-complementary
#F0CF61 #61C9F0 #8761F0
monochromatic
#C49B13 #EBBE29 #F0CF61 #F5E099 #FBF1D1
Accessibility & contrast
On white
1.52
#F0CF61 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#F0CF61 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF61
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF61 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF61 | 1.00 | 1.52 | 13.80 | 13.80 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#EBD666
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf61; /* rgb */ color: rgb(240, 207, 97); /* oklch */ color: oklch(86.2% 0.134 92.7);
Tailwind
colors: {
custom: {
50: '#f8dd91',
500: '#f0cf61',
950: '#000000',
},
}SCSS
$custom: #f0cf61; $custom-light: #f8dd91; $custom-dark: #000000;
JSON
{
"hex": "#f0cf61",
"rgb": {
"r": 240,
"g": 207,
"b": 97
},
"hsl": {
"h": 46.154,
"s": 82.659,
"l": 66.078
},
"oklch": {
"l": 0.86158,
"c": 0.1337,
"h": 92.7
},
"luminance": 0.64014
}Semantic roles & 50–950 ramp
primary
#F0CF61
secondary
#3454C2
accent
#38DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F