#CDC367#CDC367
#CDC367 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.115 H 103.1°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC367 |
|---|---|
| RGB | rgb(205, 195, 103) |
| HSL | hsl(54, 50%, 60%) |
| HSV | hsv(54, 50%, 80%) |
| CMYK | cmyk(0%, 4.9%, 49.8%, 19.6%) |
| CIE-LAB | lab(77.87, -8.82, 47.08) |
| CIE-LCH | lch(77.87, 47.90, 100.62°) |
| OKLab | oklab(80.62% -0.0259 0.1117) |
| OKLCH | oklch(80.62% 0.115 103.1) |
| XYZ | xyz(47.1414, 52.9901, 20.5742) |
| Luminance | 0.5299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.26
Sand (survey)
#E2CA76
ΔE00 4.96
Greenish Beige
#C9D179
ΔE00 5.70
Sandy
#F1DA7A
ΔE00 7.06
Greenish Tan
#BCCB7A
ΔE00 7.29
Puke Yellow
#C2BE0E
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC367 #6771CD
analogous
#CD9067 #CDC367 #A4CD67
triadic
#CDC367 #67CDC3 #C367CD
tetradic
#CDC367 #67CD90 #6771CD #CD67A4
square
#CDC367 #67CD90 #6771CD #CD67A4
split-complementary
#CDC367 #67A4CD #9067CD
monochromatic
#8C822E #BAAD3D #CDC367 #DCD595 #EBE7C3
Accessibility & contrast
On white
1.81
#CDC367 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#CDC367 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC367
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC367 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC367 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BE5F
Deuteranopia (green-blind)
#D5C36B
Tritanopia (blue-blind)
#DAB8AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc367; /* rgb */ color: rgb(205, 195, 103); /* oklch */ color: oklch(80.6% 0.115 103.1);
Tailwind
colors: {
custom: {
50: '#ded594',
500: '#cdc367',
950: '#000000',
},
}SCSS
$custom: #cdc367; $custom-light: #ded594; $custom-dark: #000000;
JSON
{
"hex": "#cdc367",
"rgb": {
"r": 205,
"g": 195,
"b": 103
},
"hsl": {
"h": 54.118,
"s": 50.495,
"l": 60.392
},
"oklch": {
"l": 0.80616,
"c": 0.11466,
"h": 103.1
},
"luminance": 0.52989
}Semantic roles & 50–950 ramp
primary
#CDC367
secondary
#464D92
accent
#36BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F