#F2CF5B#F2CF5B
#F2CF5B is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.3% C 0.139 H 92.4°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF5B |
|---|---|
| RGB | rgb(242, 207, 91) |
| HSL | hsl(46, 85%, 65%) |
| HSV | hsv(46, 62%, 95%) |
| CMYK | cmyk(0%, 14.5%, 62.4%, 5.1%) |
| CIE-LAB | lab(84.10, -0.61, 60.64) |
| CIE-LCH | lch(84.10, 60.64, 90.57°) |
| OKLab | oklab(86.28% -0.0059 0.1388) |
| OKLCH | oklch(86.28% 0.139 92.4) |
| XYZ | xyz(60.8220, 64.2615, 19.0956) |
| Luminance | 0.6426 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.94
Light Mustard
#F7D560
ΔE00 1.39
Light Gold
#FDDC5C
ΔE00 3.25
Pale Gold
#FDDE6C
ΔE00 3.47
Wheat (survey)
#FBDD7E
ΔE00 4.34
Sand Yellow
#FCE166
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF5B #5B7EF2
analogous
#F2845B #F2CF5B #C9F25B
triadic
#F2CF5B #5BF2CF #CF5BF2
tetradic
#F2CF5B #5BF284 #5B7EF2 #F25BC9
square
#F2CF5B #5BF284 #5B7EF2 #F25BC9
split-complementary
#F2CF5B #5BC9F2 #845BF2
monochromatic
#C3990F #EEBE22 #F2CF5B #F6E094 #FBF0CC
Accessibility & contrast
On white
1.52
#F2CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.85
#F2CF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF5B
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF5B | 1.00 | 1.52 | 13.85 | 13.85 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC4E
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2cf5b; /* rgb */ color: rgb(242, 207, 91); /* oklch */ color: oklch(86.3% 0.139 92.4);
Tailwind
colors: {
custom: {
50: '#fadd8e',
500: '#f2cf5b',
950: '#000000',
},
}SCSS
$custom: #f2cf5b; $custom-light: #fadd8e; $custom-dark: #000000;
JSON
{
"hex": "#f2cf5b",
"rgb": {
"r": 242,
"g": 207,
"b": 91
},
"hsl": {
"h": 46.093,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.86283,
"c": 0.13895,
"h": 92.4
},
"luminance": 0.64258
}Semantic roles & 50–950 ramp
primary
#F2CF5B
secondary
#3152C1
accent
#37E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F