#CDC181#CDC181
#CDC181 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.084 H 98.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC181 |
|---|---|
| RGB | rgb(205, 193, 129) |
| HSL | hsl(51, 43%, 65%) |
| HSV | hsv(51, 37%, 80%) |
| CMYK | cmyk(0%, 5.9%, 37.1%, 19.6%) |
| CIE-LAB | lab(77.70, -5.13, 33.77) |
| CIE-LCH | lch(77.70, 34.16, 98.64°) |
| OKLab | oklab(80.6% -0.013 0.0833) |
| OKLCH | oklch(80.6% 0.084 98.9) |
| XYZ | xyz(48.2100, 52.7054, 28.3982) |
| Luminance | 0.5270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.30
Sand
#C2B280
ΔE00 4.96
Sand (survey)
#E2CA76
ΔE00 5.45
Tan (survey)
#D1B26F
ΔE00 6.67
Sandstone
#C9AE74
ΔE00 6.72
Beige (survey)
#E6DAA6
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC181 #818DCD
analogous
#CD9B81 #CDC181 #B3CD81
triadic
#CDC181 #81CDC1 #C181CD
tetradic
#CDC181 #81CD9B #818DCD #CD81B3
square
#CDC181 #81CD9B #818DCD #CD81B3
split-complementary
#CDC181 #81B3CD #9B81CD
monochromatic
#97893C #BCAB55 #CDC181 #DED7AD #F0ECD9
Accessibility & contrast
On white
1.82
#CDC181 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#CDC181 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC181
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC181 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC181 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBD7C
Deuteranopia (green-blind)
#D0C283
Tritanopia (blue-blind)
#D8B8B1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc181; /* rgb */ color: rgb(205, 193, 129); /* oklch */ color: oklch(80.6% 0.084 98.9);
Tailwind
colors: {
custom: {
50: '#ddd3a6',
500: '#cdc181',
950: '#000000',
},
}SCSS
$custom: #cdc181; $custom-light: #ddd3a6; $custom-dark: #000000;
JSON
{
"hex": "#cdc181",
"rgb": {
"r": 205,
"g": 193,
"b": 129
},
"hsl": {
"h": 50.526,
"s": 43.182,
"l": 65.49
},
"oklch": {
"l": 0.80599,
"c": 0.08428,
"h": 98.9
},
"luminance": 0.52704
}Semantic roles & 50–950 ramp
primary
#CDC181
secondary
#54609E
accent
#45B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380