#CDC38C#CDC38C
#CDC38C is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.073 H 99.1°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC38C |
|---|---|
| RGB | rgb(205, 195, 140) |
| HSL | hsl(51, 39%, 68%) |
| HSV | hsv(51, 32%, 80%) |
| CMYK | cmyk(0%, 4.9%, 31.7%, 19.6%) |
| CIE-LAB | lab(78.41, -4.84, 28.96) |
| CIE-LCH | lch(78.41, 29.36, 99.50°) |
| OKLab | oklab(81.22% -0.0115 0.0724) |
| OKLCH | oklch(81.22% 0.073 99.1) |
| XYZ | xyz(49.4261, 53.9040, 32.6067) |
| Luminance | 0.5390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.79
Darkkhaki
#BDB76B
ΔE00 5.76
Beige (survey)
#E6DAA6
ΔE00 5.79
Sand (survey)
#E2CA76
ΔE00 6.88
Very Light Brown
#D3B683
ΔE00 7.08
Sandstone
#C9AE74
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC38C #8C96CD
analogous
#CDA28C #CDC38C #B7CD8C
triadic
#CDC38C #8CCDC3 #C38CCD
tetradic
#CDC38C #8CCDA2 #8C96CD #CD8CB7
square
#CDC38C #8CCDA2 #8C96CD #CD8CB7
split-complementary
#CDC38C #8CB7CD #A28CCD
monochromatic
#9B8E43 #BAAD61 #CDC38C #E0D9B7 #F2F0E1
Accessibility & contrast
On white
1.78
#CDC38C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.78
#CDC38C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC38C
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC38C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC38C | 1.00 | 1.78 | 11.78 | 11.78 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC088
Deuteranopia (green-blind)
#D0C48E
Tritanopia (blue-blind)
#D7BBB5
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc38c; /* rgb */ color: rgb(205, 195, 140); /* oklch */ color: oklch(81.2% 0.073 99.1);
Tailwind
colors: {
custom: {
50: '#ddd5ae',
500: '#cdc38c',
950: '#000000',
},
}SCSS
$custom: #cdc38c; $custom-light: #ddd5ae; $custom-dark: #000000;
JSON
{
"hex": "#cdc38c",
"rgb": {
"r": 205,
"g": 195,
"b": 140
},
"hsl": {
"h": 50.769,
"s": 39.394,
"l": 67.647
},
"oklch": {
"l": 0.81216,
"c": 0.07327,
"h": 99.1
},
"luminance": 0.53903
}Semantic roles & 50–950 ramp
primary
#CDC38C
secondary
#5C66A2
accent
#47B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381