#CDC167#CDC167
#CDC167 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.113 H 101.8°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC167 |
|---|---|
| RGB | rgb(205, 193, 103) |
| HSL | hsl(53, 50%, 60%) |
| HSV | hsv(53, 50%, 80%) |
| CMYK | cmyk(0%, 5.9%, 49.8%, 19.6%) |
| CIE-LAB | lab(77.34, -7.80, 46.44) |
| CIE-LCH | lch(77.34, 47.09, 99.53°) |
| OKLab | oklab(80.2% -0.023 0.1103) |
| OKLCH | oklch(80.2% 0.113 101.8) |
| XYZ | xyz(46.6963, 52.0999, 20.4258) |
| Luminance | 0.5210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.01
Sand (survey)
#E2CA76
ΔE00 4.66
Greenish Beige
#C9D179
ΔE00 6.34
Sandy
#F1DA7A
ΔE00 7.17
Desert
#CCAD60
ΔE00 7.65
Greenish Tan
#BCCB7A
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC167 #6773CD
analogous
#CD8E67 #CDC167 #A6CD67
triadic
#CDC167 #67CDC1 #C167CD
tetradic
#CDC167 #67CD8E #6773CD #CD67A6
square
#CDC167 #67CD8E #6773CD #CD67A6
split-complementary
#CDC167 #67A6CD #8E67CD
monochromatic
#8C812E #BAAB3D #CDC167 #DCD495 #EBE7C3
Accessibility & contrast
On white
1.84
#CDC167 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#CDC167 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC167
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC167 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC167 | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBC5F
Deuteranopia (green-blind)
#D3C16B
Tritanopia (blue-blind)
#DAB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc167; /* rgb */ color: rgb(205, 193, 103); /* oklch */ color: oklch(80.2% 0.113 101.8);
Tailwind
colors: {
custom: {
50: '#ded394',
500: '#cdc167',
950: '#000000',
},
}SCSS
$custom: #cdc167; $custom-light: #ded394; $custom-dark: #000000;
JSON
{
"hex": "#cdc167",
"rgb": {
"r": 205,
"g": 193,
"b": 103
},
"hsl": {
"h": 52.941,
"s": 50.495,
"l": 60.392
},
"oklch": {
"l": 0.80197,
"c": 0.11265,
"h": 101.8
},
"luminance": 0.52098
}Semantic roles & 50–950 ramp
primary
#CDC167
secondary
#464F92
accent
#39BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F