#CDC062#CDC062
#CDC062 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.117 H 101.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC062 |
|---|---|
| RGB | rgb(205, 192, 98) |
| HSL | hsl(53, 52%, 59%) |
| HSV | hsv(53, 52%, 80%) |
| CMYK | cmyk(0%, 6.3%, 52.2%, 19.6%) |
| CIE-LAB | lab(77.02, -7.72, 48.48) |
| CIE-LCH | lch(77.02, 49.09, 99.04°) |
| OKLab | oklab(79.92% -0.0233 0.1143) |
| OKLCH | oklch(79.92% 0.117 101.5) |
| XYZ | xyz(46.2325, 51.5619, 19.0700) |
| Luminance | 0.5156 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.37
Sand (survey)
#E2CA76
ΔE00 4.80
Greenish Beige
#C9D179
ΔE00 6.82
Sandy
#F1DA7A
ΔE00 7.25
Olive Yellow
#C2B709
ΔE00 7.34
Puke Yellow
#C2BE0E
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC062 #626FCD
analogous
#CD8B62 #CDC062 #A5CD62
triadic
#CDC062 #62CDC0 #C062CD
tetradic
#CDC062 #62CD8B #626FCD #CD62A5
square
#CDC062 #62CD8B #626FCD #CD62A5
split-complementary
#CDC062 #62A5CD #8B62CD
monochromatic
#897E2C #B7A83A #CDC062 #DCD390 #EBE5BF
Accessibility & contrast
On white
1.86
#CDC062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.31
#CDC062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC062
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC062 | 1.00 | 1.86 | 11.31 | 11.31 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D3C166
Tritanopia (blue-blind)
#DAB5AA
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cdc062; /* rgb */ color: rgb(205, 192, 98); /* oklch */ color: oklch(79.9% 0.117 101.5);
Tailwind
colors: {
custom: {
50: '#ded291',
500: '#cdc062',
950: '#000000',
},
}SCSS
$custom: #cdc062; $custom-light: #ded291; $custom-dark: #000000;
JSON
{
"hex": "#cdc062",
"rgb": {
"r": 205,
"g": 192,
"b": 98
},
"hsl": {
"h": 52.71,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.79922,
"c": 0.11664,
"h": 101.5
},
"luminance": 0.5156
}Semantic roles & 50–950 ramp
primary
#CDC062
secondary
#434D90
accent
#5EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F