#CDC865#CDC865
#CDC865 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.122 H 106.2°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC865 |
|---|---|
| RGB | rgb(205, 200, 101) |
| HSL | hsl(57, 51%, 60%) |
| HSV | hsv(57, 51%, 80%) |
| CMYK | cmyk(0%, 2.4%, 50.7%, 19.6%) |
| CIE-LAB | lab(79.17, -11.55, 49.59) |
| CIE-LCH | lch(79.17, 50.92, 103.12°) |
| OKLab | oklab(81.65% -0.034 0.117) |
| OKLCH | oklch(81.65% 0.122 106.2) |
| XYZ | xyz(48.1813, 55.2286, 20.4315) |
| Luminance | 0.5523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.46
Darkkhaki
#BDB76B
ΔE00 5.45
Sand (survey)
#E2CA76
ΔE00 6.10
Greenish Tan
#BCCB7A
ΔE00 6.42
Sandy
#F1DA7A
ΔE00 7.11
Dull Yellow
#EEDC5B
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC865 #656ACD
analogous
#CD9465 #CDC865 #9ECD65
triadic
#CDC865 #65CDC8 #C865CD
tetradic
#CDC865 #65CD94 #656ACD #CD659E
square
#CDC865 #65CD94 #656ACD #CD659E
split-complementary
#CDC865 #659ECD #9465CD
monochromatic
#8B862D #B9B33C #CDC865 #DCD893 #EBE9C1
Accessibility & contrast
On white
1.74
#CDC865 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.05
#CDC865 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC865
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC865 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC865 | 1.00 | 1.74 | 12.05 | 12.05 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C25C
Deuteranopia (green-blind)
#D9C66A
Tritanopia (blue-blind)
#DABDB1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc865; /* rgb */ color: rgb(205, 200, 101); /* oklch */ color: oklch(81.6% 0.122 106.2);
Tailwind
colors: {
custom: {
50: '#ded893',
500: '#cdc865',
950: '#000000',
},
}SCSS
$custom: #cdc865; $custom-light: #ded893; $custom-dark: #000000;
JSON
{
"hex": "#cdc865",
"rgb": {
"r": 205,
"g": 200,
"b": 101
},
"hsl": {
"h": 57.115,
"s": 50.98,
"l": 60
},
"oklch": {
"l": 0.81645,
"c": 0.12182,
"h": 106.2
},
"luminance": 0.55227
}Semantic roles & 50–950 ramp
primary
#CDC865
secondary
#454991
accent
#54DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F