#CDC475#CDC475
#CDC475 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.101 H 102.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC475 |
|---|---|
| RGB | rgb(205, 196, 117) |
| HSL | hsl(54, 47%, 63%) |
| HSV | hsv(54, 43%, 80%) |
| CMYK | cmyk(0%, 4.4%, 42.9%, 19.6%) |
| CIE-LAB | lab(78.31, -7.99, 40.69) |
| CIE-LCH | lch(78.31, 41.47, 101.11°) |
| OKLab | oklab(81.03% -0.0222 0.0985) |
| OKLCH | oklch(81.03% 0.101 102.7) |
| XYZ | xyz(48.1287, 53.7447, 24.6647) |
| Luminance | 0.5374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.67
Sand (survey)
#E2CA76
ΔE00 4.89
Greenish Beige
#C9D179
ΔE00 5.26
Greenish Tan
#BCCB7A
ΔE00 6.51
Sandy
#F1DA7A
ΔE00 7.35
Sand
#C2B280
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC475 #757ECD
analogous
#CD9875 #CDC475 #AACD75
triadic
#CDC475 #75CDC4 #C475CD
tetradic
#CDC475 #75CD98 #757ECD #CD75AA
square
#CDC475 #75CD98 #757ECD #CD75AA
split-complementary
#CDC475 #75AACD #9875CD
monochromatic
#938935 #BDB148 #CDC475 #DDD7A2 #EEEACF
Accessibility & contrast
On white
1.79
#CDC475 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#CDC475 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC475
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC475 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC475 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF6F
Deuteranopia (green-blind)
#D4C478
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc475; /* rgb */ color: rgb(205, 196, 117); /* oklch */ color: oklch(81.0% 0.101 102.7);
Tailwind
colors: {
custom: {
50: '#ded59e',
500: '#cdc475',
950: '#000000',
},
}SCSS
$custom: #cdc475; $custom-light: #ded59e; $custom-dark: #000000;
JSON
{
"hex": "#cdc475",
"rgb": {
"r": 205,
"g": 196,
"b": 117
},
"hsl": {
"h": 53.864,
"s": 46.809,
"l": 63.137
},
"oklch": {
"l": 0.81026,
"c": 0.10096,
"h": 102.7
},
"luminance": 0.53743
}Semantic roles & 50–950 ramp
primary
#CDC475
secondary
#4D5599
accent
#3ABA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F