#CDC672#CDC672
#CDC672 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.106 H 104.3°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC672 |
|---|---|
| RGB | rgb(205, 198, 114) |
| HSL | hsl(55, 48%, 63%) |
| HSV | hsv(55, 44%, 80%) |
| CMYK | cmyk(0%, 3.4%, 44.4%, 19.6%) |
| CIE-LAB | lab(78.80, -9.32, 42.80) |
| CIE-LCH | lch(78.80, 43.81, 102.29°) |
| OKLab | oklab(81.4% -0.0263 0.103) |
| OKLCH | oklch(81.4% 0.106 104.3) |
| XYZ | xyz(48.4092, 54.5835, 23.9019) |
| Luminance | 0.5458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.10
Greenish Beige
#C9D179
ΔE00 4.48
Sand (survey)
#E2CA76
ΔE00 5.24
Greenish Tan
#BCCB7A
ΔE00 6.01
Sandy
#F1DA7A
ΔE00 7.17
Pale Olive
#B9CC81
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC672 #7279CD
analogous
#CD9972 #CDC672 #A6CD72
triadic
#CDC672 #72CDC6 #C672CD
tetradic
#CDC672 #72CD99 #7279CD #CD72A6
square
#CDC672 #72CD99 #7279CD #CD72A6
split-complementary
#CDC672 #72A6CD #9972CD
monochromatic
#918A33 #BDB445 #CDC672 #DDD89F #EDEBCC
Accessibility & contrast
On white
1.76
#CDC672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#CDC672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC672
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC672 | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C16B
Deuteranopia (green-blind)
#D6C576
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc672; /* rgb */ color: rgb(205, 198, 114); /* oklch */ color: oklch(81.4% 0.106 104.3);
Tailwind
colors: {
custom: {
50: '#ded79c',
500: '#cdc672',
950: '#000000',
},
}SCSS
$custom: #cdc672; $custom-light: #ded79c; $custom-dark: #000000;
JSON
{
"hex": "#cdc672",
"rgb": {
"r": 205,
"g": 198,
"b": 114
},
"hsl": {
"h": 55.385,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.814,
"c": 0.10634,
"h": 104.3
},
"luminance": 0.54582
}Semantic roles & 50–950 ramp
primary
#CDC672
secondary
#4C5297
accent
#36BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F