#F2CA52#F2CA52
#F2CA52 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.2% C 0.143 H 90.4°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CA52 |
|---|---|
| RGB | rgb(242, 202, 82) |
| HSL | hsl(45, 86%, 64%) |
| HSV | hsv(45, 66%, 95%) |
| CMYK | cmyk(0%, 16.5%, 66.1%, 5.1%) |
| CIE-LAB | lab(82.77, 1.43, 63.08) |
| CIE-LCH | lch(82.77, 63.09, 88.71°) |
| OKLab | oklab(85.21% -0.0011 0.1427) |
| OKLCH | oklch(85.21% 0.143 90.4) |
| XYZ | xyz(59.2645, 61.7309, 16.7747) |
| Luminance | 0.6173 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.78
Light Mustard
#F7D560
ΔE00 2.87
Light Gold
#FDDC5C
ΔE00 4.48
Pale Gold
#FDDE6C
ΔE00 4.95
Golden Yellow
#FEC615
ΔE00 5.10
Golden
#F5BF03
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CA52 #527AF2
analogous
#F27A52 #F2CA52 #CAF252
triadic
#F2CA52 #52F2CA #CA52F2
tetradic
#F2CA52 #52F27A #527AF2 #F252CA
square
#F2CA52 #52F27A #527AF2 #F252CA
split-complementary
#F2CA52 #52CAF2 #7A52F2
monochromatic
#BC900E #EEB919 #F2CA52 #F6DB8B #FBEDC4
Accessibility & contrast
On white
1.57
#F2CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.35
#F2CA52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CA52
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CA52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CA52 | 1.00 | 1.57 | 13.35 | 13.35 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC843
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#FFBAB1
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #f2ca52; /* rgb */ color: rgb(242, 202, 82); /* oklch */ color: oklch(85.2% 0.143 90.4);
Tailwind
colors: {
custom: {
50: '#fad988',
500: '#f2ca52',
950: '#000000',
},
}SCSS
$custom: #f2ca52; $custom-light: #fad988; $custom-dark: #000000;
JSON
{
"hex": "#f2ca52",
"rgb": {
"r": 242,
"g": 202,
"b": 82
},
"hsl": {
"h": 45,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.85208,
"c": 0.14268,
"h": 90.4
},
"luminance": 0.61728
}Semantic roles & 50–950 ramp
primary
#F2CA52
secondary
#2E51BA
accent
#3BE303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F