#CDC382#CDC382
#CDC382 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.085 H 100.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC382 |
|---|---|
| RGB | rgb(205, 195, 130) |
| HSL | hsl(52, 43%, 66%) |
| HSV | hsv(52, 37%, 80%) |
| CMYK | cmyk(0%, 4.9%, 36.6%, 19.6%) |
| CIE-LAB | lab(78.24, -6.05, 33.96) |
| CIE-LCH | lch(78.24, 34.49, 100.11°) |
| OKLab | oklab(81.03% -0.0156 0.0837) |
| OKLCH | oklch(81.03% 0.085 100.6) |
| XYZ | xyz(48.7220, 53.6223, 28.8984) |
| Luminance | 0.5362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.29
Sand (survey)
#E2CA76
ΔE00 5.58
Sand
#C2B280
ΔE00 5.60
Beige (survey)
#E6DAA6
ΔE00 6.59
Greenish Beige
#C9D179
ΔE00 6.59
Greenish Tan
#BCCB7A
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC382 #828CCD
analogous
#CD9D82 #CDC382 #B1CD82
triadic
#CDC382 #82CDC3 #C382CD
tetradic
#CDC382 #82CD9D #828CCD #CD82B1
square
#CDC382 #82CD9D #828CCD #CD82B1
split-complementary
#CDC382 #82B1CD #9D82CD
monochromatic
#988C3D #BCAE56 #CDC382 #DED8AE #F0EDD9
Accessibility & contrast
On white
1.79
#CDC382 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#CDC382 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC382
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC382 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC382 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBF7D
Deuteranopia (green-blind)
#D2C384
Tritanopia (blue-blind)
#D8BAB3
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc382; /* rgb */ color: rgb(205, 195, 130); /* oklch */ color: oklch(81.0% 0.085 100.6);
Tailwind
colors: {
custom: {
50: '#ddd5a7',
500: '#cdc382',
950: '#000000',
},
}SCSS
$custom: #cdc382; $custom-light: #ddd5a7; $custom-dark: #000000;
JSON
{
"hex": "#cdc382",
"rgb": {
"r": 205,
"g": 195,
"b": 130
},
"hsl": {
"h": 52,
"s": 42.857,
"l": 65.686
},
"oklch": {
"l": 0.81032,
"c": 0.08518,
"h": 100.6
},
"luminance": 0.53621
}Semantic roles & 50–950 ramp
primary
#CDC382
secondary
#555F9E
accent
#41B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380