#CDC56D#CDC56D
#CDC56D is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.111 H 104.0°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC56D |
|---|---|
| RGB | rgb(205, 197, 109) |
| HSL | hsl(55, 49%, 62%) |
| HSV | hsv(55, 47%, 80%) |
| CMYK | cmyk(0%, 3.9%, 46.8%, 19.6%) |
| CIE-LAB | lab(78.47, -9.30, 44.87) |
| CIE-LCH | lch(78.47, 45.83, 101.71°) |
| OKLab | oklab(81.12% -0.0267 0.1073) |
| OKLCH | oklch(81.12% 0.111 104) |
| XYZ | xyz(47.9046, 54.0172, 22.3679) |
| Luminance | 0.5402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.16
Greenish Beige
#C9D179
ΔE00 4.88
Sand (survey)
#E2CA76
ΔE00 5.12
Greenish Tan
#BCCB7A
ΔE00 6.48
Sandy
#F1DA7A
ΔE00 7.06
Light Olive
#ACBF69
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC56D #6D75CD
analogous
#CD956D #CDC56D #A5CD6D
triadic
#CDC56D #6DCDC5 #C56DCD
tetradic
#CDC56D #6DCD95 #6D75CD #CD6DA5
square
#CDC56D #6DCD95 #6D75CD #CD6DA5
split-complementary
#CDC56D #6DA5CD #956DCD
monochromatic
#8F8731 #BCB240 #CDC56D #DDD79B #ECE9C8
Accessibility & contrast
On white
1.78
#CDC56D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#CDC56D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC56D
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC56D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC56D | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C066
Deuteranopia (green-blind)
#D6C471
Tritanopia (blue-blind)
#D9BBB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc56d; /* rgb */ color: rgb(205, 197, 109); /* oklch */ color: oklch(81.1% 0.111 104.0);
Tailwind
colors: {
custom: {
50: '#ded698',
500: '#cdc56d',
950: '#000000',
},
}SCSS
$custom: #cdc56d; $custom-light: #ded698; $custom-dark: #000000;
JSON
{
"hex": "#cdc56d",
"rgb": {
"r": 205,
"g": 197,
"b": 109
},
"hsl": {
"h": 55,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.81118,
"c": 0.11057,
"h": 104
},
"luminance": 0.54016
}Semantic roles & 50–950 ramp
primary
#CDC56D
secondary
#494F95
accent
#35BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F