#CDC56A#CDC56A
#CDC56A is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.114 H 104.2°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC56A |
|---|---|
| RGB | rgb(205, 197, 106) |
| HSL | hsl(55, 50%, 61%) |
| HSV | hsv(55, 48%, 80%) |
| CMYK | cmyk(0%, 3.9%, 48.3%, 19.6%) |
| CIE-LAB | lab(78.43, -9.58, 46.30) |
| CIE-LCH | lch(78.43, 47.28, 101.69°) |
| OKLab | oklab(81.08% -0.0278 0.1102) |
| OKLCH | oklch(81.08% 0.114 104.2) |
| XYZ | xyz(47.7458, 53.9537, 21.5319) |
| Luminance | 0.5395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.38
Greenish Beige
#C9D179
ΔE00 4.97
Sand (survey)
#E2CA76
ΔE00 5.21
Greenish Tan
#BCCB7A
ΔE00 6.64
Sandy
#F1DA7A
ΔE00 7.03
Light Olive
#ACBF69
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC56A #6A72CD
analogous
#CD936A #CDC56A #A3CD6A
triadic
#CDC56A #6ACDC5 #C56ACD
tetradic
#CDC56A #6ACD93 #6A72CD #CD6AA3
square
#CDC56A #6ACD93 #6A72CD #CD6AA3
split-complementary
#CDC56A #6AA3CD #936ACD
monochromatic
#8D862F #BBB13F #CDC56A #DCD798 #ECE9C6
Accessibility & contrast
On white
1.78
#CDC56A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#CDC56A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC56A
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC56A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC56A | 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)
#D3BF62
Deuteranopia (green-blind)
#D6C46E
Tritanopia (blue-blind)
#DABAB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc56a; /* rgb */ color: rgb(205, 197, 106); /* oklch */ color: oklch(81.1% 0.114 104.2);
Tailwind
colors: {
custom: {
50: '#ded696',
500: '#cdc56a',
950: '#000000',
},
}SCSS
$custom: #cdc56a; $custom-light: #ded696; $custom-dark: #000000;
JSON
{
"hex": "#cdc56a",
"rgb": {
"r": 205,
"g": 197,
"b": 106
},
"hsl": {
"h": 55.152,
"s": 49.749,
"l": 60.98
},
"oklch": {
"l": 0.81077,
"c": 0.11366,
"h": 104.2
},
"luminance": 0.53952
}Semantic roles & 50–950 ramp
primary
#CDC56A
secondary
#474E94
accent
#34BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F