#CDC38D#CDC38D
#CDC38D is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.072 H 98.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC38D |
|---|---|
| RGB | rgb(205, 195, 141) |
| HSL | hsl(51, 39%, 68%) |
| HSV | hsv(51, 31%, 80%) |
| CMYK | cmyk(0%, 4.9%, 31.2%, 19.6%) |
| CIE-LAB | lab(78.42, -4.72, 28.46) |
| CIE-LCH | lch(78.42, 28.85, 99.41°) |
| OKLab | oklab(81.24% -0.0111 0.0712) |
| OKLCH | oklch(81.24% 0.072 98.9) |
| XYZ | xyz(49.5001, 53.9336, 32.9968) |
| Luminance | 0.5393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.75
Beige (survey)
#E6DAA6
ΔE00 5.75
Darkkhaki
#BDB76B
ΔE00 5.94
Very Light Brown
#D3B683
ΔE00 7.04
Sand (survey)
#E2CA76
ΔE00 7.04
Sandstone
#C9AE74
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC38D #8D97CD
analogous
#CDA38D #CDC38D #B7CD8D
triadic
#CDC38D #8DCDC3 #C38DCD
tetradic
#CDC38D #8DCDA3 #8D97CD #CD8DB7
square
#CDC38D #8DCDA3 #8D97CD #CD8DB7
split-complementary
#CDC38D #8DB7CD #A38DCD
monochromatic
#9B8E44 #BAAD62 #CDC38D #E0D9B8 #F2F0E2
Accessibility & contrast
On white
1.78
#CDC38D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#CDC38D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC38D
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC38D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC38D | 1.00 | 1.78 | 11.79 | 11.79 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC089
Deuteranopia (green-blind)
#D0C48F
Tritanopia (blue-blind)
#D7BBB5
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc38d; /* rgb */ color: rgb(205, 195, 141); /* oklch */ color: oklch(81.2% 0.072 98.9);
Tailwind
colors: {
custom: {
50: '#ddd5ae',
500: '#cdc38d',
950: '#000000',
},
}SCSS
$custom: #cdc38d; $custom-light: #ddd5ae; $custom-dark: #000000;
JSON
{
"hex": "#cdc38d",
"rgb": {
"r": 205,
"g": 195,
"b": 141
},
"hsl": {
"h": 50.625,
"s": 39.024,
"l": 67.843
},
"oklch": {
"l": 0.81235,
"c": 0.07206,
"h": 98.9
},
"luminance": 0.53932
}Semantic roles & 50–950 ramp
primary
#CDC38D
secondary
#5C67A2
accent
#47B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381