#CA9821#CA9821
#CA9821 is a light, vivid orange. Relative luminance 0.351; OKLCH L 70.9% C 0.137 H 83.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9821 |
|---|---|
| RGB | rgb(202, 152, 33) |
| HSL | hsl(42, 72%, 46%) |
| HSV | hsv(42, 84%, 79%) |
| CMYK | cmyk(0%, 24.8%, 83.7%, 20.8%) |
| CIE-LAB | lab(65.85, 8.52, 63.64) |
| CIE-LCH | lch(65.85, 64.20, 82.38°) |
| OKLab | oklab(70.87% 0.0162 0.1361) |
| OKLCH | oklch(70.87% 0.137 83.2) |
| XYZ | xyz(35.8624, 35.1256, 6.3297) |
| Luminance | 0.3512 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellow Ochre
#CB9D06
ΔE00 2.84
Ochre
#BF9005
ΔE00 2.96
Ocre
#C69C04
ΔE00 3.45
Goldenrod
#DAA520
ΔE00 4.14
Ocher
#BF9B0C
ΔE00 4.65
Yellow Brown
#B79400
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9821 #2153CA
analogous
#CA4421 #CA9821 #A7CA21
triadic
#CA9821 #21CA98 #9821CA
tetradic
#CA9821 #21CA44 #2153CA #CA21A7
square
#CA9821 #21CA44 #2153CA #CA21A7
split-complementary
#CA9821 #21A7CA #4421CA
monochromatic
#614910 #957018 #CA9821 #E1B347 #EAC97C
Accessibility & contrast
On white
2.62
#CA9821 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#CA9821 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9821
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9821 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9821 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#B9A528
Tritanopia (blue-blind)
#DC8982
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ca9821; /* rgb */ color: rgb(202, 152, 33); /* oklch */ color: oklch(70.9% 0.137 83.2);
Tailwind
colors: {
custom: {
50: '#dfb669',
500: '#ca9821',
950: '#000000',
},
}SCSS
$custom: #ca9821; $custom-light: #dfb669; $custom-dark: #000000;
JSON
{
"hex": "#ca9821",
"rgb": {
"r": 202,
"g": 152,
"b": 33
},
"hsl": {
"h": 42.249,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.70871,
"c": 0.13701,
"h": 83.2
},
"luminance": 0.35123
}Semantic roles & 50–950 ramp
primary
#CA9821
secondary
#7591D2
accent
#6FEF39
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161107
muted
#84807A