#CDC76A#CDC76A
#CDC76A is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.116 H 105.4°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC76A |
|---|---|
| RGB | rgb(205, 199, 106) |
| HSL | hsl(56, 50%, 61%) |
| HSV | hsv(56, 48%, 80%) |
| CMYK | cmyk(0%, 2.9%, 48.3%, 19.6%) |
| CIE-LAB | lab(78.97, -10.60, 46.94) |
| CIE-LCH | lch(78.97, 48.12, 102.73°) |
| OKLab | oklab(81.5% -0.0307 0.1116) |
| OKLCH | oklch(81.5% 0.116 105.4) |
| XYZ | xyz(48.2030, 54.8680, 21.6843) |
| Luminance | 0.5487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.38
Darkkhaki
#BDB76B
ΔE00 4.81
Sand (survey)
#E2CA76
ΔE00 5.64
Greenish Tan
#BCCB7A
ΔE00 6.21
Sandy
#F1DA7A
ΔE00 7.05
Light Olive
#ACBF69
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC76A #6A70CD
analogous
#CD956A #CDC76A #A1CD6A
triadic
#CDC76A #6ACDC7 #C76ACD
tetradic
#CDC76A #6ACD95 #6A70CD #CD6AA1
square
#CDC76A #6ACD95 #6A70CD #CD6AA1
split-complementary
#CDC76A #6AA1CD #956ACD
monochromatic
#8D882F #BBB43F #CDC76A #DCD898 #ECE9C6
Accessibility & contrast
On white
1.75
#CDC76A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.97
#CDC76A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC76A
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC76A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC76A | 1.00 | 1.75 | 11.97 | 11.97 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C162
Deuteranopia (green-blind)
#D7C66E
Tritanopia (blue-blind)
#D9BCB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc76a; /* rgb */ color: rgb(205, 199, 106); /* oklch */ color: oklch(81.5% 0.116 105.4);
Tailwind
colors: {
custom: {
50: '#ded797',
500: '#cdc76a',
950: '#000000',
},
}SCSS
$custom: #cdc76a; $custom-light: #ded797; $custom-dark: #000000;
JSON
{
"hex": "#cdc76a",
"rgb": {
"r": 205,
"g": 199,
"b": 106
},
"hsl": {
"h": 56.364,
"s": 49.749,
"l": 60.98
},
"oklch": {
"l": 0.81498,
"c": 0.11577,
"h": 105.4
},
"luminance": 0.54867
}Semantic roles & 50–950 ramp
primary
#CDC76A
secondary
#474C94
accent
#31BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F