#CC9842#CC9842
#CC9842 is a light, moderate orange. Relative luminance 0.357; OKLCH L 71.3% C 0.119 H 77.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CC9842 |
|---|---|
| RGB | rgb(204, 152, 66) |
| HSL | hsl(37, 58%, 53%) |
| HSV | hsv(37, 68%, 80%) |
| CMYK | cmyk(0%, 25.5%, 67.6%, 20%) |
| CIE-LAB | lab(66.28, 10.80, 51.37) |
| CIE-LCH | lch(66.28, 52.49, 78.13°) |
| OKLab | oklab(71.33% 0.0265 0.1165) |
| OKLCH | oklch(71.33% 0.119 77.2) |
| XYZ | xyz(37.1158, 35.6900, 10.0872) |
| Luminance | 0.3569 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Camel (survey)
#C69F59
ΔE00 4.10
Sand Brown
#CBA560
ΔE00 5.19
Caramel
#C68E4E
ΔE00 5.53
Ochre
#BF9005
ΔE00 6.21
Goldenrod
#DAA520
ΔE00 6.62
Yellow Ochre
#CB9D06
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC9842 #4276CC
analogous
#CC5342 #CC9842 #BBCC42
triadic
#CC9842 #42CC98 #9842CC
tetradic
#CC9842 #42CC53 #4276CC #CC42BB
square
#CC9842 #42CC53 #4276CC #CC42BB
split-complementary
#CC9842 #42BBCC #5342CC
monochromatic
#74541F #A4772C #CC9842 #D9B272 #E6CDA2
Accessibility & contrast
On white
2.58
#CC9842 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#CC9842 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC9842
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC9842 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC9842 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#B8A645
Tritanopia (blue-blind)
#DD8A86
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cc9842; /* rgb */ color: rgb(204, 152, 66); /* oklch */ color: oklch(71.3% 0.119 77.2);
Tailwind
colors: {
custom: {
50: '#e0b67a',
500: '#cc9842',
950: '#000000',
},
}SCSS
$custom: #cc9842; $custom-light: #e0b67a; $custom-dark: #000000;
JSON
{
"hex": "#cc9842",
"rgb": {
"r": 204,
"g": 152,
"b": 66
},
"hsl": {
"h": 37.391,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.71331,
"c": 0.11945,
"h": 77.2
},
"luminance": 0.35687
}Semantic roles & 50–950 ramp
primary
#CC9842
secondary
#97AED3
accent
#81E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B