#CDC372#CDC372
#CDC372 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.103 H 102.2°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC372 |
|---|---|
| RGB | rgb(205, 195, 114) |
| HSL | hsl(53, 48%, 63%) |
| HSV | hsv(53, 44%, 80%) |
| CMYK | cmyk(0%, 4.9%, 44.4%, 19.6%) |
| CIE-LAB | lab(78.01, -7.78, 41.82) |
| CIE-LCH | lch(78.01, 42.53, 100.54°) |
| OKLab | oklab(80.77% -0.0219 0.1008) |
| OKLCH | oklch(80.77% 0.103 102.2) |
| XYZ | xyz(47.7303, 53.2257, 23.6756) |
| Luminance | 0.5322 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.60
Sand (survey)
#E2CA76
ΔE00 4.71
Greenish Beige
#C9D179
ΔE00 5.56
Greenish Tan
#BCCB7A
ΔE00 6.85
Sandy
#F1DA7A
ΔE00 7.28
Sand
#C2B280
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC372 #727CCD
analogous
#CD9672 #CDC372 #A9CD72
triadic
#CDC372 #72CDC3 #C372CD
tetradic
#CDC372 #72CD96 #727CCD #CD72A9
square
#CDC372 #72CD96 #727CCD #CD72A9
split-complementary
#CDC372 #72A9CD #9672CD
monochromatic
#918733 #BDB045 #CDC372 #DDD69F #EDE9CC
Accessibility & contrast
On white
1.80
#CDC372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.64
#CDC372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC372
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC372 | 1.00 | 1.80 | 11.64 | 11.64 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE6B
Deuteranopia (green-blind)
#D4C375
Tritanopia (blue-blind)
#D9B9AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc372; /* rgb */ color: rgb(205, 195, 114); /* oklch */ color: oklch(80.8% 0.103 102.2);
Tailwind
colors: {
custom: {
50: '#ded59c',
500: '#cdc372',
950: '#000000',
},
}SCSS
$custom: #cdc372; $custom-light: #ded59c; $custom-dark: #000000;
JSON
{
"hex": "#cdc372",
"rgb": {
"r": 205,
"g": 195,
"b": 114
},
"hsl": {
"h": 53.407,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.80772,
"c": 0.10318,
"h": 102.2
},
"luminance": 0.53224
}Semantic roles & 50–950 ramp
primary
#CDC372
secondary
#4C5497
accent
#3ABB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F