#F2CF51#F2CF51
#F2CF51 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.146 H 93.4°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF51 |
|---|---|
| RGB | rgb(242, 207, 81) |
| HSL | hsl(47, 86%, 63%) |
| HSV | hsv(47, 67%, 95%) |
| CMYK | cmyk(0%, 14.5%, 66.5%, 5.1%) |
| CIE-LAB | lab(84.02, -1.20, 64.81) |
| CIE-LCH | lch(84.02, 64.82, 91.06°) |
| OKLab | oklab(86.19% -0.0088 0.1462) |
| OKLCH | oklch(86.19% 0.146 93.4) |
| XYZ | xyz(60.4190, 64.1003, 16.9732) |
| Luminance | 0.6410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.46
Light Mustard
#F7D560
ΔE00 1.73
Light Gold
#FDDC5C
ΔE00 2.96
Pale Gold
#FDDE6C
ΔE00 3.73
Sand Yellow
#FCE166
ΔE00 4.38
Yellow Tan
#FFE36E
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF51 #5174F2
analogous
#F27F51 #F2CF51 #C4F251
triadic
#F2CF51 #51F2CF #CF51F2
tetradic
#F2CF51 #51F27F #5174F2 #F251C4
square
#F2CF51 #51F27F #5174F2 #F251C4
split-complementary
#F2CF51 #51C4F2 #7F51F2
monochromatic
#BB950E #EEBF18 #F2CF51 #F6DF8A #FBEEC3
Accessibility & contrast
On white
1.52
#F2CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.82
#F2CF51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF51
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF51 | 1.00 | 1.52 | 13.82 | 13.82 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CB41
Deuteranopia (green-blind)
#EDD657
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f2cf51; /* rgb */ color: rgb(242, 207, 81); /* oklch */ color: oklch(86.2% 0.146 93.4);
Tailwind
colors: {
custom: {
50: '#fadd88',
500: '#f2cf51',
950: '#000000',
},
}SCSS
$custom: #f2cf51; $custom-light: #fadd88; $custom-dark: #000000;
JSON
{
"hex": "#f2cf51",
"rgb": {
"r": 242,
"g": 207,
"b": 81
},
"hsl": {
"h": 46.957,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.8619,
"c": 0.14645,
"h": 93.4
},
"luminance": 0.64097
}Semantic roles & 50–950 ramp
primary
#F2CF51
secondary
#2E4CB9
accent
#34E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F