#CDC06B#CDC06B
#CDC06B is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.108 H 100.7°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC06B |
|---|---|
| RGB | rgb(205, 192, 107) |
| HSL | hsl(52, 49%, 61%) |
| HSV | hsv(52, 48%, 80%) |
| CMYK | cmyk(0%, 6.3%, 47.8%, 19.6%) |
| CIE-LAB | lab(77.13, -6.91, 44.22) |
| CIE-LCH | lch(77.13, 44.75, 98.89°) |
| OKLab | oklab(80.04% -0.02 0.1057) |
| OKLCH | oklch(80.04% 0.108 100.7) |
| XYZ | xyz(46.6816, 51.7415, 21.4352) |
| Luminance | 0.5174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.66
Sand (survey)
#E2CA76
ΔE00 4.42
Greenish Beige
#C9D179
ΔE00 6.62
Desert
#CCAD60
ΔE00 7.11
Tan (survey)
#D1B26F
ΔE00 7.28
Sandy
#F1DA7A
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC06B #6B78CD
analogous
#CD8F6B #CDC06B #A9CD6B
triadic
#CDC06B #6BCDC0 #C06BCD
tetradic
#CDC06B #6BCD8F #6B78CD #CD6BA9
square
#CDC06B #6BCD8F #6B78CD #CD6BA9
split-complementary
#CDC06B #6BA9CD #8F6BCD
monochromatic
#8E8130 #BBAB3F #CDC06B #DCD399 #ECE7C6
Accessibility & contrast
On white
1.85
#CDC06B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.35
#CDC06B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC06B
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC06B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC06B | 1.00 | 1.85 | 11.35 | 11.35 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBB64
Deuteranopia (green-blind)
#D2C16F
Tritanopia (blue-blind)
#DAB5AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cdc06b; /* rgb */ color: rgb(205, 192, 107); /* oklch */ color: oklch(80.0% 0.108 100.7);
Tailwind
colors: {
custom: {
50: '#ded297',
500: '#cdc06b',
950: '#000000',
},
}SCSS
$custom: #cdc06b; $custom-light: #ded297; $custom-dark: #000000;
JSON
{
"hex": "#cdc06b",
"rgb": {
"r": 205,
"g": 192,
"b": 107
},
"hsl": {
"h": 52.041,
"s": 49.495,
"l": 61.176
},
"oklch": {
"l": 0.80043,
"c": 0.10757,
"h": 100.7
},
"luminance": 0.5174
}Semantic roles & 50–950 ramp
primary
#CDC06B
secondary
#485294
accent
#3CBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F