#CDC065#CDC065
#CDC065 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.114 H 101.3°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC065 |
|---|---|
| RGB | rgb(205, 192, 101) |
| HSL | hsl(53, 51%, 60%) |
| HSV | hsv(53, 51%, 80%) |
| CMYK | cmyk(0%, 6.3%, 50.7%, 19.6%) |
| CIE-LAB | lab(77.05, -7.46, 47.07) |
| CIE-LCH | lch(77.05, 47.66, 99.00°) |
| OKLab | oklab(79.96% -0.0222 0.1115) |
| OKLCH | oklch(79.96% 0.114 101.3) |
| XYZ | xyz(46.3768, 51.6196, 19.8300) |
| Luminance | 0.5162 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.10
Sand (survey)
#E2CA76
ΔE00 4.64
Greenish Beige
#C9D179
ΔE00 6.72
Sandy
#F1DA7A
ΔE00 7.24
Desert
#CCAD60
ΔE00 7.36
Olive Yellow
#C2B709
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC065 #6572CD
analogous
#CD8C65 #CDC065 #A6CD65
triadic
#CDC065 #65CDC0 #C065CD
tetradic
#CDC065 #65CD8C #6572CD #CD65A6
square
#CDC065 #65CD8C #6572CD #CD65A6
split-complementary
#CDC065 #65A6CD #8C65CD
monochromatic
#8B7F2D #B9A93C #CDC065 #DCD393 #EBE6C1
Accessibility & contrast
On white
1.85
#CDC065 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.32
#CDC065 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC065
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC065 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC065 | 1.00 | 1.85 | 11.32 | 11.32 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB5D
Deuteranopia (green-blind)
#D3C169
Tritanopia (blue-blind)
#DAB5AB
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cdc065; /* rgb */ color: rgb(205, 192, 101); /* oklch */ color: oklch(80.0% 0.114 101.3);
Tailwind
colors: {
custom: {
50: '#ded293',
500: '#cdc065',
950: '#000000',
},
}SCSS
$custom: #cdc065; $custom-light: #ded293; $custom-dark: #000000;
JSON
{
"hex": "#cdc065",
"rgb": {
"r": 205,
"g": 192,
"b": 101
},
"hsl": {
"h": 52.5,
"s": 50.98,
"l": 60
},
"oklch": {
"l": 0.79961,
"c": 0.11368,
"h": 101.3
},
"luminance": 0.51618
}Semantic roles & 50–950 ramp
primary
#CDC065
secondary
#454E91
accent
#5FDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F