#F2CD5C#F2CD5C
#F2CD5C is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.9% C 0.137 H 91.1°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CD5C |
|---|---|
| RGB | rgb(242, 205, 92) |
| HSL | hsl(45, 85%, 65%) |
| HSV | hsv(45, 62%, 95%) |
| CMYK | cmyk(0%, 15.3%, 62%, 5.1%) |
| CIE-LAB | lab(83.61, 0.48, 59.66) |
| CIE-LCH | lch(83.61, 59.66, 89.53°) |
| OKLab | oklab(85.9% -0.0026 0.1369) |
| OKLCH | oklch(85.9% 0.137 91.1) |
| XYZ | xyz(60.3839, 63.3159, 19.1638) |
| Luminance | 0.6331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.51
Light Mustard
#F7D560
ΔE00 2.02
Light Gold
#FDDC5C
ΔE00 3.92
Pale Gold
#FDDE6C
ΔE00 4.04
Wheat (survey)
#FBDD7E
ΔE00 4.55
Sandy
#F1DA7A
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CD5C #5C81F2
analogous
#F2825C #F2CD5C #CCF25C
triadic
#F2CD5C #5CF2CD #CD5CF2
tetradic
#F2CD5C #5CF282 #5C81F2 #F25CCC
square
#F2CD5C #5CF282 #5C81F2 #F25CCC
split-complementary
#F2CD5C #5CCCF2 #825CF2
monochromatic
#C49710 #EDBC23 #F2CD5C #F7DE95 #FBF0CD
Accessibility & contrast
On white
1.54
#F2CD5C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.66
#F2CD5C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CD5C
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CD5C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CD5C | 1.00 | 1.54 | 13.66 | 13.66 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CA50
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f2cd5c; /* rgb */ color: rgb(242, 205, 92); /* oklch */ color: oklch(85.9% 0.137 91.1);
Tailwind
colors: {
custom: {
50: '#fadb8e',
500: '#f2cd5c',
950: '#000000',
},
}SCSS
$custom: #f2cd5c; $custom-light: #fadb8e; $custom-dark: #000000;
JSON
{
"hex": "#f2cd5c",
"rgb": {
"r": 242,
"g": 205,
"b": 92
},
"hsl": {
"h": 45.2,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.85896,
"c": 0.1369,
"h": 91.1
},
"luminance": 0.63313
}Semantic roles & 50–950 ramp
primary
#F2CD5C
secondary
#3154C1
accent
#3BE204
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F