#CDC082#CDC082
#CDC082 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.082 H 97.8°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC082 |
|---|---|
| RGB | rgb(205, 192, 130) |
| HSL | hsl(50, 43%, 66%) |
| HSV | hsv(50, 37%, 80%) |
| CMYK | cmyk(0%, 6.3%, 36.6%, 19.6%) |
| CIE-LAB | lab(77.45, -4.49, 32.93) |
| CIE-LCH | lch(77.45, 33.23, 97.77°) |
| OKLab | oklab(80.41% -0.0111 0.0814) |
| OKLCH | oklch(80.41% 0.082 97.8) |
| XYZ | xyz(48.0565, 52.2915, 28.6766) |
| Luminance | 0.5229 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.48
Darkkhaki
#BDB76B
ΔE00 4.56
Sand (survey)
#E2CA76
ΔE00 5.60
Sandstone
#C9AE74
ΔE00 6.26
Tan (survey)
#D1B26F
ΔE00 6.30
Very Light Brown
#D3B683
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC082 #828FCD
analogous
#CD9A82 #CDC082 #B4CD82
triadic
#CDC082 #82CDC0 #C082CD
tetradic
#CDC082 #82CD9A #828FCD #CD82B4
square
#CDC082 #82CD9A #828FCD #CD82B4
split-complementary
#CDC082 #82B4CD #9A82CD
monochromatic
#98883D #BCAA56 #CDC082 #DED6AE #F0ECD9
Accessibility & contrast
On white
1.83
#CDC082 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#CDC082 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC082
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC082 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC082 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBD7E
Deuteranopia (green-blind)
#CFC184
Tritanopia (blue-blind)
#D8B7B0
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc082; /* rgb */ color: rgb(205, 192, 130); /* oklch */ color: oklch(80.4% 0.082 97.8);
Tailwind
colors: {
custom: {
50: '#ddd2a7',
500: '#cdc082',
950: '#000000',
},
}SCSS
$custom: #cdc082; $custom-light: #ddd2a7; $custom-dark: #000000;
JSON
{
"hex": "#cdc082",
"rgb": {
"r": 205,
"g": 192,
"b": 130
},
"hsl": {
"h": 49.6,
"s": 42.857,
"l": 65.686
},
"oklch": {
"l": 0.8041,
"c": 0.08211,
"h": 97.8
},
"luminance": 0.5229
}Semantic roles & 50–950 ramp
primary
#CDC082
secondary
#55629E
accent
#47B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380