#F0CF66#F0CF66
#F0CF66 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.129 H 92.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF66 |
|---|---|
| RGB | rgb(240, 207, 102) |
| HSL | hsl(46, 82%, 67%) |
| HSV | hsv(46, 58%, 94%) |
| CMYK | cmyk(0%, 13.7%, 57.5%, 5.9%) |
| CIE-LAB | lab(84.02, -0.68, 55.55) |
| CIE-LCH | lch(84.02, 55.55, 90.70°) |
| OKLab | oklab(86.21% -0.0047 0.1294) |
| OKLCH | oklch(86.21% 0.129 92.1) |
| XYZ | xyz(60.6489, 64.1133, 21.7483) |
| Luminance | 0.6411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.02
Maize
#F4D054
ΔE00 2.34
Wheat (survey)
#FBDD7E
ΔE00 3.54
Pale Gold
#FDDE6C
ΔE00 3.57
Sandy
#F1DA7A
ΔE00 3.67
Sand (survey)
#E2CA76
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF66 #6687F0
analogous
#F08A66 #F0CF66 #CCF066
triadic
#F0CF66 #66F0CF #CF66F0
tetradic
#F0CF66 #66F08A #6687F0 #F066CC
square
#F0CF66 #66F08A #6687F0 #F066CC
split-complementary
#F0CF66 #66CCF0 #8A66F0
monochromatic
#C89D14 #EBBE2E #F0CF66 #F5E09E #FBF2D5
Accessibility & contrast
On white
1.52
#F0CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.82
#F0CF66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF66
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF66 | 1.00 | 1.52 | 13.82 | 13.82 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#EBD66A
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f0cf66; /* rgb */ color: rgb(240, 207, 102); /* oklch */ color: oklch(86.2% 0.129 92.1);
Tailwind
colors: {
custom: {
50: '#f8dd95',
500: '#f0cf66',
950: '#000000',
},
}SCSS
$custom: #f0cf66; $custom-light: #f8dd95; $custom-dark: #000000;
JSON
{
"hex": "#f0cf66",
"rgb": {
"r": 240,
"g": 207,
"b": 102
},
"hsl": {
"h": 45.652,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.86213,
"c": 0.12943,
"h": 92.1
},
"luminance": 0.6411
}Semantic roles & 50–950 ramp
primary
#F0CF66
secondary
#3558C5
accent
#3BDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F