#CDC670#CDC670
#CDC670 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.108 H 104.4°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC670 |
|---|---|
| RGB | rgb(205, 198, 112) |
| HSL | hsl(55, 48%, 62%) |
| HSV | hsv(55, 45%, 80%) |
| CMYK | cmyk(0%, 3.4%, 45.4%, 19.6%) |
| CIE-LAB | lab(78.77, -9.52, 43.76) |
| CIE-LCH | lch(78.77, 44.79, 102.27°) |
| OKLab | oklab(81.37% -0.027 0.1051) |
| OKLCH | oklch(81.37% 0.108 104.4) |
| XYZ | xyz(48.2966, 54.5385, 23.3090) |
| Luminance | 0.5454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.19
Greenish Beige
#C9D179
ΔE00 4.50
Sand (survey)
#E2CA76
ΔE00 5.26
Greenish Tan
#BCCB7A
ΔE00 6.09
Sandy
#F1DA7A
ΔE00 7.11
Pale Olive
#B9CC81
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC670 #7077CD
analogous
#CD9870 #CDC670 #A6CD70
triadic
#CDC670 #70CDC6 #C670CD
tetradic
#CDC670 #70CD98 #7077CD #CD70A6
square
#CDC670 #70CD98 #7077CD #CD70A6
split-complementary
#CDC670 #70A6CD #9870CD
monochromatic
#908932 #BDB443 #CDC670 #DDD89D #EDEACB
Accessibility & contrast
On white
1.76
#CDC670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#CDC670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC670
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC670 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C069
Deuteranopia (green-blind)
#D6C574
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc670; /* rgb */ color: rgb(205, 198, 112); /* oklch */ color: oklch(81.4% 0.108 104.4);
Tailwind
colors: {
custom: {
50: '#ded79b',
500: '#cdc670',
950: '#000000',
},
}SCSS
$custom: #cdc670; $custom-light: #ded79b; $custom-dark: #000000;
JSON
{
"hex": "#cdc670",
"rgb": {
"r": 205,
"g": 198,
"b": 112
},
"hsl": {
"h": 55.484,
"s": 48.187,
"l": 62.157
},
"oklch": {
"l": 0.81371,
"c": 0.10848,
"h": 104.4
},
"luminance": 0.54537
}Semantic roles & 50–950 ramp
primary
#CDC670
secondary
#4B5097
accent
#35BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F