#F2CF62#F2CF62
#F2CF62 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.4% C 0.133 H 91.6°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF62 |
|---|---|
| RGB | rgb(242, 207, 98) |
| HSL | hsl(45, 85%, 67%) |
| HSV | hsv(45, 60%, 95%) |
| CMYK | cmyk(0%, 14.5%, 59.5%, 5.1%) |
| CIE-LAB | lab(84.17, -0.14, 57.59) |
| CIE-LCH | lch(84.17, 57.59, 90.14°) |
| OKLab | oklab(86.36% -0.0037 0.1332) |
| OKLCH | oklch(86.36% 0.133 91.6) |
| XYZ | xyz(61.1381, 64.3879, 20.7607) |
| Luminance | 0.6439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.70
Maize
#F4D054
ΔE00 1.79
Pale Gold
#FDDE6C
ΔE00 3.52
Light Gold
#FDDC5C
ΔE00 3.70
Wheat (survey)
#FBDD7E
ΔE00 3.83
Sandy
#F1DA7A
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF62 #6285F2
analogous
#F28762 #F2CF62 #CDF262
triadic
#F2CF62 #62F2CF #CF62F2
tetradic
#F2CF62 #62F287 #6285F2 #F262CD
square
#F2CF62 #62F287 #6285F2 #F262CD
split-complementary
#F2CF62 #62CDF2 #8762F2
monochromatic
#C99C11 #EDBE29 #F2CF62 #F7E09B #FBF2D3
Accessibility & contrast
On white
1.51
#F2CF62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.88
#F2CF62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF62
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF62 | 1.00 | 1.51 | 13.88 | 13.88 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#ECD667
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2cf62; /* rgb */ color: rgb(242, 207, 98); /* oklch */ color: oklch(86.4% 0.133 91.6);
Tailwind
colors: {
custom: {
50: '#f9dd92',
500: '#f2cf62',
950: '#000000',
},
}SCSS
$custom: #f2cf62; $custom-light: #f9dd92; $custom-dark: #000000;
JSON
{
"hex": "#f2cf62",
"rgb": {
"r": 242,
"g": 207,
"b": 98
},
"hsl": {
"h": 45.417,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.86356,
"c": 0.13328,
"h": 91.6
},
"luminance": 0.64385
}Semantic roles & 50–950 ramp
primary
#F2CF62
secondary
#3356C6
accent
#3AE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F