#CDA842#CDA842
#CDA842 is a light, vivid orange. Relative luminance 0.414; OKLCH L 74.6% C 0.126 H 88.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA842 |
|---|---|
| RGB | rgb(205, 168, 66) |
| HSL | hsl(44, 58%, 53%) |
| HSV | hsv(44, 68%, 80%) |
| CMYK | cmyk(0%, 18%, 67.8%, 19.6%) |
| CIE-LAB | lab(70.44, 2.62, 55.82) |
| CIE-LCH | lch(70.44, 55.88, 87.32°) |
| OKLab | oklab(74.62% 0.0027 0.1259) |
| OKLCH | oklch(74.62% 0.126 88.8) |
| XYZ | xyz(40.1650, 41.3802, 11.0248) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Desert
#CCAD60
ΔE00 4.03
Burnt Yellow
#D5AB09
ΔE00 4.65
Goldenrod
#DAA520
ΔE00 4.67
Yellow Ochre
#CB9D06
ΔE00 4.79
Mustard
#DBB42C
ΔE00 4.80
Ocre
#C69C04
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA842 #4267CD
analogous
#CD6242 #CDA842 #ACCD42
triadic
#CDA842 #42CDA8 #A842CD
tetradic
#CDA842 #42CD62 #4267CD #CD42AC
square
#CDA842 #42CD62 #4267CD #CD42AC
split-complementary
#CDA842 #42ACCD #6242CD
monochromatic
#765F1F #A6852C #CDA842 #DABE72 #E7D5A3
Accessibility & contrast
On white
2.26
#CDA842 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#CDA842 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA842
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA842 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA842 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA635
Deuteranopia (green-blind)
#C3B147
Tritanopia (blue-blind)
#DD9A93
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cda842; /* rgb */ color: rgb(205, 168, 66); /* oklch */ color: oklch(74.6% 0.126 88.8);
Tailwind
colors: {
custom: {
50: '#e0c17b',
500: '#cda842',
950: '#000000',
},
}SCSS
$custom: #cda842; $custom-light: #e0c17b; $custom-dark: #000000;
JSON
{
"hex": "#cda842",
"rgb": {
"r": 205,
"g": 168,
"b": 66
},
"hsl": {
"h": 44.029,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.74621,
"c": 0.12592,
"h": 88.8
},
"luminance": 0.41378
}Semantic roles & 50–950 ramp
primary
#CDA842
secondary
#97A7D3
accent
#70E146
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C