#CA9F21#CA9F21
#CA9F21 is a light, vivid orange. Relative luminance 0.375; OKLCH L 72.3% C 0.139 H 87.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9F21 |
|---|---|
| RGB | rgb(202, 159, 33) |
| HSL | hsl(45, 72%, 46%) |
| HSV | hsv(45, 84%, 79%) |
| CMYK | cmyk(0%, 21.3%, 83.7%, 20.8%) |
| CIE-LAB | lab(67.62, 4.74, 65.14) |
| CIE-LCH | lch(67.62, 65.32, 85.84°) |
| OKLab | oklab(72.27% 0.0054 0.1394) |
| OKLCH | oklch(72.27% 0.139 87.8) |
| XYZ | xyz(37.0322, 37.4652, 6.7196) |
| Luminance | 0.3746 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellow Ochre
#CB9D06
ΔE00 1.36
Ocre
#C69C04
ΔE00 1.60
Ocher
#BF9B0C
ΔE00 2.79
Goldenrod
#DAA520
ΔE00 3.43
Burnt Yellow
#D5AB09
ΔE00 4.07
Ochre
#BF9005
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9F21 #214CCA
analogous
#CA4B21 #CA9F21 #A0CA21
triadic
#CA9F21 #21CA9F #9F21CA
tetradic
#CA9F21 #21CA4B #214CCA #CA21A0
square
#CA9F21 #21CA4B #214CCA #CA21A0
split-complementary
#CA9F21 #21A0CA #4B21CA
monochromatic
#614C10 #957618 #CA9F21 #E1BA47 #EACE7C
Accessibility & contrast
On white
2.47
#CA9F21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#CA9F21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9F21
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9F21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9F21 | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#BDA929
Tritanopia (blue-blind)
#DC9088
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #ca9f21; /* rgb */ color: rgb(202, 159, 33); /* oklch */ color: oklch(72.3% 0.139 87.8);
Tailwind
colors: {
custom: {
50: '#dfbb69',
500: '#ca9f21',
950: '#000000',
},
}SCSS
$custom: #ca9f21; $custom-light: #dfbb69; $custom-dark: #000000;
JSON
{
"hex": "#ca9f21",
"rgb": {
"r": 202,
"g": 159,
"b": 33
},
"hsl": {
"h": 44.734,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.72268,
"c": 0.13946,
"h": 87.8
},
"luminance": 0.37463
}Semantic roles & 50–950 ramp
primary
#CA9F21
secondary
#758DD2
accent
#67EF39
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A