#F2CF58#F2CF58
#F2CF58 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.3% C 0.141 H 92.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF58 |
|---|---|
| RGB | rgb(242, 207, 88) |
| HSL | hsl(46, 86%, 65%) |
| HSV | hsv(46, 64%, 95%) |
| CMYK | cmyk(0%, 14.5%, 63.6%, 5.1%) |
| CIE-LAB | lab(84.08, -0.79, 61.92) |
| CIE-LCH | lch(84.08, 61.92, 90.73°) |
| OKLab | oklab(86.25% -0.0068 0.1411) |
| OKLCH | oklch(86.25% 0.141 92.8) |
| XYZ | xyz(60.6951, 64.2107, 18.4276) |
| Luminance | 0.6421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.63
Light Mustard
#F7D560
ΔE00 1.41
Light Gold
#FDDC5C
ΔE00 3.11
Pale Gold
#FDDE6C
ΔE00 3.51
Sand Yellow
#FCE166
ΔE00 4.42
Wheat (survey)
#FBDD7E
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF58 #587BF2
analogous
#F28258 #F2CF58 #C8F258
triadic
#F2CF58 #58F2CF #CF58F2
tetradic
#F2CF58 #58F282 #587BF2 #F258C8
square
#F2CF58 #58F282 #587BF2 #F258C8
split-complementary
#F2CF58 #58C8F2 #8258F2
monochromatic
#C1980F #EEBF1F #F2CF58 #F6DF91 #FBF0CA
Accessibility & contrast
On white
1.52
#F2CF58 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.84
#F2CF58 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF58
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF58 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF58 | 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)
#E4CC4A
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2cf58; /* rgb */ color: rgb(242, 207, 88); /* oklch */ color: oklch(86.3% 0.141 92.8);
Tailwind
colors: {
custom: {
50: '#fadd8c',
500: '#f2cf58',
950: '#000000',
},
}SCSS
$custom: #f2cf58; $custom-light: #fadd8c; $custom-dark: #000000;
JSON
{
"hex": "#f2cf58",
"rgb": {
"r": 242,
"g": 207,
"b": 88
},
"hsl": {
"h": 46.364,
"s": 85.556,
"l": 64.706
},
"oklch": {
"l": 0.86254,
"c": 0.14128,
"h": 92.8
},
"luminance": 0.64207
}Semantic roles & 50–950 ramp
primary
#F2CF58
secondary
#3050BE
accent
#36E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F