#CDBD62#CDBD62
#CDBD62 is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.3% C 0.114 H 99.5°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CDBD62 |
|---|---|
| RGB | rgb(205, 189, 98) |
| HSL | hsl(51, 52%, 59%) |
| HSV | hsv(51, 52%, 80%) |
| CMYK | cmyk(0%, 7.8%, 52.2%, 19.6%) |
| CIE-LAB | lab(76.23, -6.17, 47.54) |
| CIE-LCH | lch(76.23, 47.94, 97.39°) |
| OKLab | oklab(79.3% -0.0188 0.1122) |
| OKLCH | oklch(79.3% 0.114 99.5) |
| XYZ | xyz(45.5805, 50.2579, 18.8527) |
| Luminance | 0.5026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.28
Sand (survey)
#E2CA76
ΔE00 4.58
Desert
#CCAD60
ΔE00 6.36
Tan (survey)
#D1B26F
ΔE00 6.95
Olive Yellow
#C2B709
ΔE00 7.56
Sandy
#F1DA7A
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDBD62 #6272CD
analogous
#CD8862 #CDBD62 #A8CD62
triadic
#CDBD62 #62CDBD #BD62CD
tetradic
#CDBD62 #62CD88 #6272CD #CD62A8
square
#CDBD62 #62CD88 #6272CD #CD62A8
split-complementary
#CDBD62 #62A8CD #8862CD
monochromatic
#897B2C #B7A53A #CDBD62 #DCD190 #EBE4BF
Accessibility & contrast
On white
1.90
#CDBD62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.05
#CDBD62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDBD62
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDBD62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDBD62 | 1.00 | 1.90 | 11.05 | 11.05 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB85A
Deuteranopia (green-blind)
#D1BF66
Tritanopia (blue-blind)
#DBB2A8
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #cdbd62; /* rgb */ color: rgb(205, 189, 98); /* oklch */ color: oklch(79.3% 0.114 99.5);
Tailwind
colors: {
custom: {
50: '#ded091',
500: '#cdbd62',
950: '#000000',
},
}SCSS
$custom: #cdbd62; $custom-light: #ded091; $custom-dark: #000000;
JSON
{
"hex": "#cdbd62",
"rgb": {
"r": 205,
"g": 189,
"b": 98
},
"hsl": {
"h": 51.028,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.79295,
"c": 0.11381,
"h": 99.5
},
"luminance": 0.50256
}Semantic roles & 50–950 ramp
primary
#CDBD62
secondary
#434F90
accent
#62DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F