#F2CA4D#F2CA4D
#F2CA4D is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.2% C 0.146 H 91.0°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CA4D |
|---|---|
| RGB | rgb(242, 202, 77) |
| HSL | hsl(45, 86%, 63%) |
| HSV | hsv(45, 68%, 95%) |
| CMYK | cmyk(0%, 16.5%, 68.2%, 5.1%) |
| CIE-LAB | lab(82.73, 1.15, 65.11) |
| CIE-LCH | lch(82.73, 65.12, 88.99°) |
| OKLab | oklab(85.16% -0.0025 0.1462) |
| OKLCH | oklch(85.16% 0.146 91) |
| XYZ | xyz(59.0812, 61.6576, 15.8090) |
| Luminance | 0.6165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.67
Light Mustard
#F7D560
ΔE00 2.94
Light Gold
#FDDC5C
ΔE00 4.37
Golden Yellow
#FEC615
ΔE00 4.79
Golden
#F5BF03
ΔE00 4.98
Pale Gold
#FDDE6C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CA4D #4D75F2
analogous
#F2784D #F2CA4D #C7F24D
triadic
#F2CA4D #4DF2CA #CA4DF2
tetradic
#F2CA4D #4DF278 #4D75F2 #F24DC7
square
#F2CA4D #4DF278 #4D75F2 #F24DC7
split-complementary
#F2CA4D #4DC7F2 #784DF2
monochromatic
#B78E0D #EEB914 #F2CA4D #F6DB86 #FAECBF
Accessibility & contrast
On white
1.58
#F2CA4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.33
#F2CA4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CA4D
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CA4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CA4D | 1.00 | 1.58 | 13.33 | 13.33 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C73D
Deuteranopia (green-blind)
#E9D353
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #f2ca4d; /* rgb */ color: rgb(242, 202, 77); /* oklch */ color: oklch(85.2% 0.146 91.0);
Tailwind
colors: {
custom: {
50: '#fad985',
500: '#f2ca4d',
950: '#000000',
},
}SCSS
$custom: #f2ca4d; $custom-light: #fad985; $custom-dark: #000000;
JSON
{
"hex": "#f2ca4d",
"rgb": {
"r": 242,
"g": 202,
"b": 77
},
"hsl": {
"h": 45.455,
"s": 86.387,
"l": 62.549
},
"oklch": {
"l": 0.85164,
"c": 0.14619,
"h": 91
},
"luminance": 0.61654
}Semantic roles & 50–950 ramp
primary
#F2CA4D
secondary
#2D4EB6
accent
#39E303
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E