#CDC161#CDC161
#CDC161 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.119 H 102.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC161 |
|---|---|
| RGB | rgb(205, 193, 97) |
| HSL | hsl(53, 52%, 59%) |
| HSV | hsv(53, 53%, 80%) |
| CMYK | cmyk(0%, 5.9%, 52.7%, 19.6%) |
| CIE-LAB | lab(77.27, -8.32, 49.25) |
| CIE-LCH | lch(77.27, 49.95, 99.58°) |
| OKLab | oklab(80.12% -0.0251 0.1159) |
| OKLCH | oklch(80.12% 0.119 102.2) |
| XYZ | xyz(46.4059, 51.9837, 18.8963) |
| Luminance | 0.5198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.55
Sand (survey)
#E2CA76
ΔE00 4.98
Greenish Beige
#C9D179
ΔE00 6.56
Puke Yellow
#C2BE0E
ΔE00 7.15
Olive Yellow
#C2B709
ΔE00 7.18
Sandy
#F1DA7A
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC161 #616DCD
analogous
#CD8B61 #CDC161 #A3CD61
triadic
#CDC161 #61CDC1 #C161CD
tetradic
#CDC161 #61CD8B #616DCD #CD61A3
square
#CDC161 #61CD8B #616DCD #CD61A3
split-complementary
#CDC161 #61A3CD #8B61CD
monochromatic
#887E2B #B7A93A #CDC161 #DCD38F #EAE5BE
Accessibility & contrast
On white
1.84
#CDC161 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#CDC161 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC161
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC161 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC161 | 1.00 | 1.84 | 11.40 | 11.40 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC58
Deuteranopia (green-blind)
#D4C166
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc161; /* rgb */ color: rgb(205, 193, 97); /* oklch */ color: oklch(80.1% 0.119 102.2);
Tailwind
colors: {
custom: {
50: '#ded390',
500: '#cdc161',
950: '#000000',
},
}SCSS
$custom: #cdc161; $custom-light: #ded390; $custom-dark: #000000;
JSON
{
"hex": "#cdc161",
"rgb": {
"r": 205,
"g": 193,
"b": 97
},
"hsl": {
"h": 53.333,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.80119,
"c": 0.11857,
"h": 102.2
},
"luminance": 0.51982
}Semantic roles & 50–950 ramp
primary
#CDC161
secondary
#434B8F
accent
#5CDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F