#CDC671#CDC671
#CDC671 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.107 H 104.4°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC671 |
|---|---|
| RGB | rgb(205, 198, 113) |
| HSL | hsl(55, 48%, 62%) |
| HSV | hsv(55, 45%, 80%) |
| CMYK | cmyk(0%, 3.4%, 44.9%, 19.6%) |
| CIE-LAB | lab(78.79, -9.42, 43.28) |
| CIE-LCH | lch(78.79, 44.30, 102.28°) |
| OKLab | oklab(81.39% -0.0267 0.1041) |
| OKLCH | oklch(81.39% 0.107 104.4) |
| XYZ | xyz(48.3526, 54.5609, 23.6038) |
| Luminance | 0.5456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.14
Greenish Beige
#C9D179
ΔE00 4.49
Sand (survey)
#E2CA76
ΔE00 5.25
Greenish Tan
#BCCB7A
ΔE00 6.05
Sandy
#F1DA7A
ΔE00 7.14
Pale Olive
#B9CC81
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC671 #7178CD
analogous
#CD9871 #CDC671 #A6CD71
triadic
#CDC671 #71CDC6 #C671CD
tetradic
#CDC671 #71CD98 #7178CD #CD71A6
square
#CDC671 #71CD98 #7178CD #CD71A6
split-complementary
#CDC671 #71A6CD #9871CD
monochromatic
#918A33 #BDB444 #CDC671 #DDD89E #EDEACC
Accessibility & contrast
On white
1.76
#CDC671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#CDC671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC671
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC671 | 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)
#D3C16A
Deuteranopia (green-blind)
#D6C575
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc671; /* rgb */ color: rgb(205, 198, 113); /* oklch */ color: oklch(81.4% 0.107 104.4);
Tailwind
colors: {
custom: {
50: '#ded79b',
500: '#cdc671',
950: '#000000',
},
}SCSS
$custom: #cdc671; $custom-light: #ded79b; $custom-dark: #000000;
JSON
{
"hex": "#cdc671",
"rgb": {
"r": 205,
"g": 198,
"b": 113
},
"hsl": {
"h": 55.435,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.81386,
"c": 0.10742,
"h": 104.4
},
"luminance": 0.5456
}Semantic roles & 50–950 ramp
primary
#CDC671
secondary
#4B5197
accent
#35BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F