#CA9840#CA9840
#CA9840 is a light, moderate orange. Relative luminance 0.354; OKLCH L 71.1% C 0.120 H 78.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9840 |
|---|---|
| RGB | rgb(202, 152, 64) |
| HSL | hsl(38, 57%, 52%) |
| HSV | hsv(38, 68%, 79%) |
| CMYK | cmyk(0%, 24.8%, 68.3%, 20.8%) |
| CIE-LAB | lab(66.05, 9.82, 51.97) |
| CIE-LCH | lch(66.05, 52.88, 79.30°) |
| OKLab | oklab(71.09% 0.0235 0.1175) |
| OKLCH | oklch(71.09% 0.12 78.7) |
| XYZ | xyz(36.5130, 35.3859, 9.7565) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Camel (survey)
#C69F59
ΔE00 3.96
Sand Brown
#CBA560
ΔE00 5.11
Ochre
#BF9005
ΔE00 5.59
Caramel
#C68E4E
ΔE00 6.07
Yellow Ochre
#CB9D06
ΔE00 6.28
Goldenrod
#DAA520
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9840 #4072CA
analogous
#CA5340 #CA9840 #B7CA40
triadic
#CA9840 #40CA98 #9840CA
tetradic
#CA9840 #40CA53 #4072CA #CA40B7
square
#CA9840 #40CA53 #4072CA #CA40B7
split-complementary
#CA9840 #40B7CA #5340CA
monochromatic
#70531F #A0762C #CA9840 #D7B270 #E5CCA0
Accessibility & contrast
On white
2.60
#CA9840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#CA9840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9840
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9840 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9936
Deuteranopia (green-blind)
#B7A643
Tritanopia (blue-blind)
#DB8A85
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ca9840; /* rgb */ color: rgb(202, 152, 64); /* oklch */ color: oklch(71.1% 0.120 78.7);
Tailwind
colors: {
custom: {
50: '#deb679',
500: '#ca9840',
950: '#000000',
},
}SCSS
$custom: #ca9840; $custom-light: #deb679; $custom-dark: #000000;
JSON
{
"hex": "#ca9840",
"rgb": {
"r": 202,
"g": 152,
"b": 64
},
"hsl": {
"h": 38.261,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.71093,
"c": 0.11981,
"h": 78.7
},
"luminance": 0.35383
}Semantic roles & 50–950 ramp
primary
#CA9840
secondary
#95ABD1
accent
#7FE048
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B