#F0CF57#F0CF57
#F0CF57 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 86.1% C 0.142 H 93.8°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF57 |
|---|---|
| RGB | rgb(240, 207, 87) |
| HSL | hsl(47, 84%, 64%) |
| HSV | hsv(47, 64%, 94%) |
| CMYK | cmyk(0%, 13.7%, 63.7%, 5.9%) |
| CIE-LAB | lab(83.88, -1.68, 62.08) |
| CIE-LCH | lch(83.88, 62.11, 91.55°) |
| OKLab | oklab(86.06% -0.0093 0.1414) |
| OKLCH | oklch(86.06% 0.142 93.8) |
| XYZ | xyz(59.9711, 63.8422, 18.1789) |
| Luminance | 0.6384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.91
Light Mustard
#F7D560
ΔE00 1.52
Light Gold
#FDDC5C
ΔE00 3.07
Pale Gold
#FDDE6C
ΔE00 3.50
Sand Yellow
#FCE166
ΔE00 4.23
Sandy
#F1DA7A
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF57 #5778F0
analogous
#F08357 #F0CF57 #C5F057
triadic
#F0CF57 #57F0CF #CF57F0
tetradic
#F0CF57 #57F083 #5778F0 #F057C5
square
#F0CF57 #57F083 #5778F0 #F057C5
split-complementary
#F0CF57 #57C5F0 #8357F0
monochromatic
#BC9711 #EBBF1F #F0CF57 #F5DF8F #FAEFC7
Accessibility & contrast
On white
1.53
#F0CF57 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.77
#F0CF57 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF57
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF57 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF57 | 1.00 | 1.53 | 13.77 | 13.77 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#ECD55D
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf57; /* rgb */ color: rgb(240, 207, 87); /* oklch */ color: oklch(86.1% 0.142 93.8);
Tailwind
colors: {
custom: {
50: '#f8dd8b',
500: '#f0cf57',
950: '#000000',
},
}SCSS
$custom: #f0cf57; $custom-light: #f8dd8b; $custom-dark: #000000;
JSON
{
"hex": "#f0cf57",
"rgb": {
"r": 240,
"g": 207,
"b": 87
},
"hsl": {
"h": 47.059,
"s": 83.607,
"l": 64.118
},
"oklch": {
"l": 0.86057,
"c": 0.1417,
"h": 93.8
},
"luminance": 0.63839
}Semantic roles & 50–950 ramp
primary
#F0CF57
secondary
#314EBA
accent
#35E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F