#CDC867#CDC867
#CDC867 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.120 H 106.1°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC867 |
|---|---|
| RGB | rgb(205, 200, 103) |
| HSL | hsl(57, 50%, 60%) |
| HSV | hsv(57, 50%, 80%) |
| CMYK | cmyk(0%, 2.4%, 49.8%, 19.6%) |
| CIE-LAB | lab(79.20, -11.38, 48.66) |
| CIE-LCH | lch(79.20, 49.97, 103.16°) |
| OKLab | oklab(81.67% -0.0333 0.1152) |
| OKLCH | oklch(81.67% 0.12 106.1) |
| XYZ | xyz(48.2805, 55.2683, 20.9539) |
| Luminance | 0.5527 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.31
Darkkhaki
#BDB76B
ΔE00 5.28
Sand (survey)
#E2CA76
ΔE00 6.00
Greenish Tan
#BCCB7A
ΔE00 6.26
Sandy
#F1DA7A
ΔE00 7.09
Dull Yellow
#EEDC5B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC867 #676CCD
analogous
#CD9567 #CDC867 #9FCD67
triadic
#CDC867 #67CDC8 #C867CD
tetradic
#CDC867 #67CD95 #676CCD #CD679F
square
#CDC867 #67CD95 #676CCD #CD679F
split-complementary
#CDC867 #679FCD #9567CD
monochromatic
#8C872E #BAB43D #CDC867 #DCD995 #EBE9C3
Accessibility & contrast
On white
1.74
#CDC867 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.05
#CDC867 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC867
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC867 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC867 | 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)
#D6C25E
Deuteranopia (green-blind)
#D9C66C
Tritanopia (blue-blind)
#DABDB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc867; /* rgb */ color: rgb(205, 200, 103); /* oklch */ color: oklch(81.7% 0.120 106.1);
Tailwind
colors: {
custom: {
50: '#ded895',
500: '#cdc867',
950: '#000000',
},
}SCSS
$custom: #cdc867; $custom-light: #ded895; $custom-dark: #000000;
JSON
{
"hex": "#cdc867",
"rgb": {
"r": 205,
"g": 200,
"b": 103
},
"hsl": {
"h": 57.059,
"s": 50.495,
"l": 60.392
},
"oklch": {
"l": 0.8167,
"c": 0.11986,
"h": 106.1
},
"luminance": 0.55267
}Semantic roles & 50–950 ramp
primary
#CDC867
secondary
#464A92
accent
#2FBE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F