#F2CF66#F2CF66
#F2CF66 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.4% C 0.130 H 91.1°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF66 |
|---|---|
| RGB | rgb(242, 207, 102) |
| HSL | hsl(45, 84%, 67%) |
| HSV | hsv(45, 58%, 95%) |
| CMYK | cmyk(0%, 14.5%, 57.9%, 5.1%) |
| CIE-LAB | lab(84.21, 0.14, 55.80) |
| CIE-LCH | lch(84.21, 55.80, 89.86°) |
| OKLab | oklab(86.4% -0.0024 0.1299) |
| OKLCH | oklch(86.4% 0.13 91.1) |
| XYZ | xyz(61.3317, 64.4654, 21.7803) |
| Luminance | 0.6446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.06
Maize
#F4D054
ΔE00 2.31
Wheat (survey)
#FBDD7E
ΔE00 3.59
Pale Gold
#FDDE6C
ΔE00 3.66
Sandy
#F1DA7A
ΔE00 4.03
Light Gold
#FDDC5C
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF66 #6689F2
analogous
#F28966 #F2CF66 #CFF266
triadic
#F2CF66 #66F2CF #CF66F2
tetradic
#F2CF66 #66F289 #6689F2 #F266CF
square
#F2CF66 #66F289 #6689F2 #F266CF
split-complementary
#F2CF66 #66CFF2 #8966F2
monochromatic
#CC9E11 #EDBD2E #F2CF66 #F7E19E #FCF2D7
Accessibility & contrast
On white
1.51
#F2CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.89
#F2CF66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF66
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF66 | 1.00 | 1.51 | 13.89 | 13.89 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC5C
Deuteranopia (green-blind)
#EBD66A
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2cf66; /* rgb */ color: rgb(242, 207, 102); /* oklch */ color: oklch(86.4% 0.130 91.1);
Tailwind
colors: {
custom: {
50: '#f9dd95',
500: '#f2cf66',
950: '#000000',
},
}SCSS
$custom: #f2cf66; $custom-light: #f9dd95; $custom-dark: #000000;
JSON
{
"hex": "#f2cf66",
"rgb": {
"r": 242,
"g": 207,
"b": 102
},
"hsl": {
"h": 45,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.864,
"c": 0.12988,
"h": 91.1
},
"luminance": 0.64462
}Semantic roles & 50–950 ramp
primary
#F2CF66
secondary
#3459C9
accent
#3CE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F