#F2CF57#F2CF57
#F2CF57 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.142 H 92.9°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF57 |
|---|---|
| RGB | rgb(242, 207, 87) |
| HSL | hsl(46, 86%, 65%) |
| HSV | hsv(46, 64%, 95%) |
| CMYK | cmyk(0%, 14.5%, 64%, 5.1%) |
| CIE-LAB | lab(84.07, -0.85, 62.34) |
| CIE-LCH | lch(84.07, 62.34, 90.78°) |
| OKLab | oklab(86.24% -0.0071 0.1419) |
| OKLCH | oklch(86.24% 0.142 92.9) |
| XYZ | xyz(60.6540, 64.1943, 18.2109) |
| Luminance | 0.6419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.54
Light Mustard
#F7D560
ΔE00 1.43
Light Gold
#FDDC5C
ΔE00 3.08
Pale Gold
#FDDE6C
ΔE00 3.54
Sand Yellow
#FCE166
ΔE00 4.40
Wheat (survey)
#FBDD7E
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF57 #577AF2
analogous
#F28257 #F2CF57 #C7F257
triadic
#F2CF57 #57F2CF #CF57F2
tetradic
#F2CF57 #57F282 #577AF2 #F257C7
square
#F2CF57 #57F282 #577AF2 #F257C7
split-complementary
#F2CF57 #57C7F2 #8257F2
monochromatic
#C0980F #EEBF1E #F2CF57 #F6DF90 #FBEFC9
Accessibility & contrast
On white
1.52
#F2CF57 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.84
#F2CF57 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF57
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF57 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF57 | 1.00 | 1.52 | 13.84 | 13.84 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2cf57; /* rgb */ color: rgb(242, 207, 87); /* oklch */ color: oklch(86.2% 0.142 92.9);
Tailwind
colors: {
custom: {
50: '#fadd8b',
500: '#f2cf57',
950: '#000000',
},
}SCSS
$custom: #f2cf57; $custom-light: #fadd8b; $custom-dark: #000000;
JSON
{
"hex": "#f2cf57",
"rgb": {
"r": 242,
"g": 207,
"b": 87
},
"hsl": {
"h": 46.452,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.86244,
"c": 0.14205,
"h": 92.9
},
"luminance": 0.64191
}Semantic roles & 50–950 ramp
primary
#F2CF57
secondary
#3050BE
accent
#36E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F