#F2CF5D#F2CF5D
#F2CF5D is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.3% C 0.137 H 92.2°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF5D |
|---|---|
| RGB | rgb(242, 207, 93) |
| HSL | hsl(46, 85%, 66%) |
| HSV | hsv(46, 62%, 95%) |
| CMYK | cmyk(0%, 14.5%, 61.6%, 5.1%) |
| CIE-LAB | lab(84.12, -0.48, 59.78) |
| CIE-LCH | lch(84.12, 59.78, 90.46°) |
| OKLab | oklab(86.3% -0.0053 0.1373) |
| OKLCH | oklch(86.3% 0.137 92.2) |
| XYZ | xyz(60.9094, 64.2964, 19.5560) |
| Luminance | 0.6429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.17
Light Mustard
#F7D560
ΔE00 1.43
Light Gold
#FDDC5C
ΔE00 3.35
Pale Gold
#FDDE6C
ΔE00 3.46
Wheat (survey)
#FBDD7E
ΔE00 4.18
Sandy
#F1DA7A
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF5D #5D80F2
analogous
#F2845D #F2CF5D #CAF25D
triadic
#F2CF5D #5DF2CF #CF5DF2
tetradic
#F2CF5D #5DF284 #5D80F2 #F25DCA
square
#F2CF5D #5DF284 #5D80F2 #F25DCA
split-complementary
#F2CF5D #5DCAF2 #845DF2
monochromatic
#C59A10 #EDBE24 #F2CF5D #F7E096 #FBF1CE
Accessibility & contrast
On white
1.52
#F2CF5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.86
#F2CF5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF5D
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF5D | 1.00 | 1.52 | 13.86 | 13.86 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC51
Deuteranopia (green-blind)
#ECD662
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f2cf5d; /* rgb */ color: rgb(242, 207, 93); /* oklch */ color: oklch(86.3% 0.137 92.2);
Tailwind
colors: {
custom: {
50: '#fadd8f',
500: '#f2cf5d',
950: '#000000',
},
}SCSS
$custom: #f2cf5d; $custom-light: #fadd8f; $custom-dark: #000000;
JSON
{
"hex": "#f2cf5d",
"rgb": {
"r": 242,
"g": 207,
"b": 93
},
"hsl": {
"h": 45.906,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.86303,
"c": 0.13737,
"h": 92.2
},
"luminance": 0.64293
}Semantic roles & 50–950 ramp
primary
#F2CF5D
secondary
#3153C2
accent
#38E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F