#CDC482#CDC482
#CDC482 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.086 H 101.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC482 |
|---|---|
| RGB | rgb(205, 196, 130) |
| HSL | hsl(53, 43%, 66%) |
| HSV | hsv(53, 37%, 80%) |
| CMYK | cmyk(0%, 4.4%, 36.6%, 19.6%) |
| CIE-LAB | lab(78.50, -6.57, 34.30) |
| CIE-LCH | lch(78.50, 34.92, 100.84°) |
| OKLab | oklab(81.24% -0.0171 0.0845) |
| OKLCH | oklch(81.24% 0.086 101.4) |
| XYZ | xyz(48.9468, 54.0720, 28.9733) |
| Luminance | 0.5407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.28
Sand (survey)
#E2CA76
ΔE00 5.63
Sand
#C2B280
ΔE00 5.97
Greenish Beige
#C9D179
ΔE00 6.18
Beige (survey)
#E6DAA6
ΔE00 6.56
Greenish Tan
#BCCB7A
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC482 #828BCD
analogous
#CD9E82 #CDC482 #B0CD82
triadic
#CDC482 #82CDC4 #C482CD
tetradic
#CDC482 #82CD9E #828BCD #CD82B0
square
#CDC482 #82CD9E #828BCD #CD82B0
split-complementary
#CDC482 #82B0CD #9E82CD
monochromatic
#988D3D #BCAF56 #CDC482 #DED9AE #F0EDD9
Accessibility & contrast
On white
1.78
#CDC482 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#CDC482 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC482
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC482 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC482 | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0C07D
Deuteranopia (green-blind)
#D3C485
Tritanopia (blue-blind)
#D8BBB3
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc482; /* rgb */ color: rgb(205, 196, 130); /* oklch */ color: oklch(81.2% 0.086 101.4);
Tailwind
colors: {
custom: {
50: '#ddd5a7',
500: '#cdc482',
950: '#000000',
},
}SCSS
$custom: #cdc482; $custom-light: #ddd5a7; $custom-dark: #000000;
JSON
{
"hex": "#cdc482",
"rgb": {
"r": 205,
"g": 196,
"b": 130
},
"hsl": {
"h": 52.8,
"s": 42.857,
"l": 65.686
},
"oklch": {
"l": 0.8124,
"c": 0.08624,
"h": 101.4
},
"luminance": 0.54071
}Semantic roles & 50–950 ramp
primary
#CDC482
secondary
#555E9E
accent
#40B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380