#CDC182#CDC182
#CDC182 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.083 H 98.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC182 |
|---|---|
| RGB | rgb(205, 193, 130) |
| HSL | hsl(50, 43%, 66%) |
| HSV | hsv(50, 37%, 80%) |
| CMYK | cmyk(0%, 5.9%, 36.6%, 19.6%) |
| CIE-LAB | lab(77.72, -5.01, 33.27) |
| CIE-LCH | lch(77.72, 33.65, 98.57°) |
| OKLab | oklab(80.62% -0.0126 0.0822) |
| OKLCH | oklch(80.62% 0.083 98.7) |
| XYZ | xyz(48.2768, 52.7321, 28.7500) |
| Luminance | 0.5273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.43
Sand
#C2B280
ΔE00 4.85
Sand (survey)
#E2CA76
ΔE00 5.56
Tan (survey)
#D1B26F
ΔE00 6.67
Sandstone
#C9AE74
ΔE00 6.67
Beige (survey)
#E6DAA6
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC182 #828ECD
analogous
#CD9B82 #CDC182 #B3CD82
triadic
#CDC182 #82CDC1 #C182CD
tetradic
#CDC182 #82CD9B #828ECD #CD82B3
square
#CDC182 #82CD9B #828ECD #CD82B3
split-complementary
#CDC182 #82B3CD #9B82CD
monochromatic
#98893D #BCAB56 #CDC182 #DED7AE #F0ECD9
Accessibility & contrast
On white
1.82
#CDC182 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#CDC182 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC182
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC182 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC182 | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBD7D
Deuteranopia (green-blind)
#D0C284
Tritanopia (blue-blind)
#D8B8B1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc182; /* rgb */ color: rgb(205, 193, 130); /* oklch */ color: oklch(80.6% 0.083 98.7);
Tailwind
colors: {
custom: {
50: '#ddd3a7',
500: '#cdc182',
950: '#000000',
},
}SCSS
$custom: #cdc182; $custom-light: #ddd3a7; $custom-dark: #000000;
JSON
{
"hex": "#cdc182",
"rgb": {
"r": 205,
"g": 193,
"b": 130
},
"hsl": {
"h": 50.4,
"s": 42.857,
"l": 65.686
},
"oklch": {
"l": 0.80617,
"c": 0.08311,
"h": 98.7
},
"luminance": 0.52731
}Semantic roles & 50–950 ramp
primary
#CDC182
secondary
#55619E
accent
#45B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380