#F0CF56#F0CF56
#F0CF56 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 86.0% C 0.142 H 93.9°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF56 |
|---|---|
| RGB | rgb(240, 207, 86) |
| HSL | hsl(47, 84%, 64%) |
| HSV | hsv(47, 64%, 94%) |
| CMYK | cmyk(0%, 13.7%, 64.2%, 5.9%) |
| CIE-LAB | lab(83.88, -1.74, 62.50) |
| CIE-LCH | lch(83.88, 62.53, 91.60°) |
| OKLab | oklab(86.05% -0.0096 0.1421) |
| OKLCH | oklch(86.05% 0.142 93.9) |
| XYZ | xyz(59.9306, 63.8259, 17.9652) |
| Luminance | 0.6382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.88
Light Mustard
#F7D560
ΔE00 1.56
Light Gold
#FDDC5C
ΔE00 3.04
Pale Gold
#FDDE6C
ΔE00 3.53
Sand Yellow
#FCE166
ΔE00 4.22
Yellow Tan
#FFE36E
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF56 #5677F0
analogous
#F08256 #F0CF56 #C4F056
triadic
#F0CF56 #56F0CF #CF56F0
tetradic
#F0CF56 #56F082 #5677F0 #F056C4
square
#F0CF56 #56F082 #5677F0 #F056C4
split-complementary
#F0CF56 #56C4F0 #8256F0
monochromatic
#BB9611 #EBBF1E #F0CF56 #F5DF8E #FAEFC6
Accessibility & contrast
On white
1.53
#F0CF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.76
#F0CF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF56
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF56 | 1.00 | 1.53 | 13.76 | 13.76 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#ECD55C
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf56; /* rgb */ color: rgb(240, 207, 86); /* oklch */ color: oklch(86.0% 0.142 93.9);
Tailwind
colors: {
custom: {
50: '#f8dd8b',
500: '#f0cf56',
950: '#000000',
},
}SCSS
$custom: #f0cf56; $custom-light: #f8dd8b; $custom-dark: #000000;
JSON
{
"hex": "#f0cf56",
"rgb": {
"r": 240,
"g": 207,
"b": 86
},
"hsl": {
"h": 47.143,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.86047,
"c": 0.14246,
"h": 93.9
},
"luminance": 0.63823
}Semantic roles & 50–950 ramp
primary
#F0CF56
secondary
#304EBA
accent
#34E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F