#CDC175#CDC175
#CDC175 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.098 H 100.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC175 |
|---|---|
| RGB | rgb(205, 193, 117) |
| HSL | hsl(52, 47%, 63%) |
| HSV | hsv(52, 43%, 80%) |
| CMYK | cmyk(0%, 5.9%, 42.9%, 19.6%) |
| CIE-LAB | lab(77.52, -6.44, 39.70) |
| CIE-LCH | lch(77.52, 40.22, 99.22°) |
| OKLab | oklab(80.4% -0.0177 0.0963) |
| OKLCH | oklch(80.4% 0.098 100.4) |
| XYZ | xyz(47.4587, 52.4049, 24.4414) |
| Luminance | 0.5240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.44
Sand (survey)
#E2CA76
ΔE00 4.55
Greenish Beige
#C9D179
ΔE00 6.41
Sand
#C2B280
ΔE00 6.52
Tan (survey)
#D1B26F
ΔE00 7.01
Desert
#CCAD60
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC175 #7581CD
analogous
#CD9575 #CDC175 #ADCD75
triadic
#CDC175 #75CDC1 #C175CD
tetradic
#CDC175 #75CD95 #7581CD #CD75AD
square
#CDC175 #75CD95 #7581CD #CD75AD
split-complementary
#CDC175 #75ADCD #9575CD
monochromatic
#938635 #BDAD48 #CDC175 #DDD5A2 #EEE9CF
Accessibility & contrast
On white
1.83
#CDC175 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#CDC175 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC175
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC175 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC175 | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD6F
Deuteranopia (green-blind)
#D2C278
Tritanopia (blue-blind)
#D9B7AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc175; /* rgb */ color: rgb(205, 193, 117); /* oklch */ color: oklch(80.4% 0.098 100.4);
Tailwind
colors: {
custom: {
50: '#ded39e',
500: '#cdc175',
950: '#000000',
},
}SCSS
$custom: #cdc175; $custom-light: #ded39e; $custom-dark: #000000;
JSON
{
"hex": "#cdc175",
"rgb": {
"r": 205,
"g": 193,
"b": 117
},
"hsl": {
"h": 51.818,
"s": 46.809,
"l": 63.137
},
"oklch": {
"l": 0.804,
"c": 0.09787,
"h": 100.4
},
"luminance": 0.52403
}Semantic roles & 50–950 ramp
primary
#CDC175
secondary
#4D5899
accent
#3FBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F