#CDC582#CDC582
#CDC582 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.087 H 102.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC582 |
|---|---|
| RGB | rgb(205, 197, 130) |
| HSL | hsl(54, 43%, 66%) |
| HSV | hsv(54, 37%, 80%) |
| CMYK | cmyk(0%, 3.9%, 36.6%, 19.6%) |
| CIE-LAB | lab(78.77, -7.09, 34.64) |
| CIE-LCH | lch(78.77, 35.36, 101.56°) |
| OKLab | oklab(81.45% -0.0186 0.0853) |
| OKLCH | oklch(81.45% 0.087 102.3) |
| XYZ | xyz(49.1731, 54.5246, 29.0487) |
| Luminance | 0.5452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.32
Sand (survey)
#E2CA76
ΔE00 5.72
Greenish Beige
#C9D179
ΔE00 5.78
Sand
#C2B280
ΔE00 6.35
Greenish Tan
#BCCB7A
ΔE00 6.50
Beige (survey)
#E6DAA6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC582 #828ACD
analogous
#CD9F82 #CDC582 #AFCD82
triadic
#CDC582 #82CDC5 #C582CD
tetradic
#CDC582 #82CD9F #828ACD #CD82AF
square
#CDC582 #82CD9F #828ACD #CD82AF
split-complementary
#CDC582 #82AFCD #9F82CD
monochromatic
#988E3D #BCB156 #CDC582 #DED9AE #F0EED9
Accessibility & contrast
On white
1.76
#CDC582 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.90
#CDC582 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC582
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC582 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC582 | 1.00 | 1.76 | 11.90 | 11.90 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C17D
Deuteranopia (green-blind)
#D3C585
Tritanopia (blue-blind)
#D8BCB4
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc582; /* rgb */ color: rgb(205, 197, 130); /* oklch */ color: oklch(81.4% 0.087 102.3);
Tailwind
colors: {
custom: {
50: '#ddd6a7',
500: '#cdc582',
950: '#000000',
},
}SCSS
$custom: #cdc582; $custom-light: #ddd6a7; $custom-dark: #000000;
JSON
{
"hex": "#cdc582",
"rgb": {
"r": 205,
"g": 197,
"b": 130
},
"hsl": {
"h": 53.6,
"s": 42.857,
"l": 65.686
},
"oklch": {
"l": 0.81448,
"c": 0.08732,
"h": 102.3
},
"luminance": 0.54523
}Semantic roles & 50–950 ramp
primary
#CDC582
secondary
#555D9E
accent
#3EB630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380