#F0CF60#F0CF60
#F0CF60 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.135 H 92.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF60 |
|---|---|
| RGB | rgb(240, 207, 96) |
| HSL | hsl(46, 83%, 66%) |
| HSV | hsv(46, 60%, 94%) |
| CMYK | cmyk(0%, 13.7%, 60%, 5.9%) |
| CIE-LAB | lab(83.97, -1.10, 58.22) |
| CIE-LCH | lch(83.97, 58.23, 91.09°) |
| OKLab | oklab(86.15% -0.0066 0.1344) |
| OKLCH | oklch(86.15% 0.135 92.8) |
| XYZ | xyz(60.3620, 63.9985, 20.2376) |
| Luminance | 0.6400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.58
Maize
#F4D054
ΔE00 1.63
Pale Gold
#FDDE6C
ΔE00 3.41
Light Gold
#FDDC5C
ΔE00 3.51
Wheat (survey)
#FBDD7E
ΔE00 3.94
Sandy
#F1DA7A
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF60 #6081F0
analogous
#F08760 #F0CF60 #C9F060
triadic
#F0CF60 #60F0CF #CF60F0
tetradic
#F0CF60 #60F087 #6081F0 #F060C9
square
#F0CF60 #60F087 #6081F0 #F060C9
split-complementary
#F0CF60 #60C9F0 #8760F0
monochromatic
#C39B12 #EBBE28 #F0CF60 #F5E098 #FBF1D0
Accessibility & contrast
On white
1.52
#F0CF60 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#F0CF60 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF60
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF60 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF60 | 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)
#E3CC54
Deuteranopia (green-blind)
#EBD665
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf60; /* rgb */ color: rgb(240, 207, 96); /* oklch */ color: oklch(86.1% 0.135 92.8);
Tailwind
colors: {
custom: {
50: '#f8dd91',
500: '#f0cf60',
950: '#000000',
},
}SCSS
$custom: #f0cf60; $custom-light: #f8dd91; $custom-dark: #000000;
JSON
{
"hex": "#f0cf60",
"rgb": {
"r": 240,
"g": 207,
"b": 96
},
"hsl": {
"h": 46.25,
"s": 82.759,
"l": 65.882
},
"oklch": {
"l": 0.86147,
"c": 0.13453,
"h": 92.8
},
"luminance": 0.63995
}Semantic roles & 50–950 ramp
primary
#F0CF60
secondary
#3354C1
accent
#38DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F