#CDC468#CDC468
#CDC468 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.115 H 103.7°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC468 |
|---|---|
| RGB | rgb(205, 196, 104) |
| HSL | hsl(55, 50%, 61%) |
| HSV | hsv(55, 49%, 80%) |
| CMYK | cmyk(0%, 4.4%, 49.3%, 19.6%) |
| CIE-LAB | lab(78.15, -9.25, 46.92) |
| CIE-LCH | lch(78.15, 47.83, 101.15°) |
| OKLab | oklab(80.84% -0.0271 0.1114) |
| OKLCH | oklch(80.84% 0.115 103.7) |
| XYZ | xyz(47.4167, 53.4599, 20.9151) |
| Luminance | 0.5346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.35
Sand (survey)
#E2CA76
ΔE00 5.10
Greenish Beige
#C9D179
ΔE00 5.35
Greenish Tan
#BCCB7A
ΔE00 6.99
Sandy
#F1DA7A
ΔE00 7.03
Puke Yellow
#C2BE0E
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC468 #6871CD
analogous
#CD9168 #CDC468 #A4CD68
triadic
#CDC468 #68CDC4 #C468CD
tetradic
#CDC468 #68CD91 #6871CD #CD68A4
square
#CDC468 #68CD91 #6871CD #CD68A4
split-complementary
#CDC468 #68A4CD #9168CD
monochromatic
#8C842E #BAAF3E #CDC468 #DCD696 #EBE8C4
Accessibility & contrast
On white
1.80
#CDC468 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CDC468 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC468
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC468 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC468 | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#DAB9AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc468; /* rgb */ color: rgb(205, 196, 104); /* oklch */ color: oklch(80.8% 0.115 103.7);
Tailwind
colors: {
custom: {
50: '#ded595',
500: '#cdc468',
950: '#000000',
},
}SCSS
$custom: #cdc468; $custom-light: #ded595; $custom-dark: #000000;
JSON
{
"hex": "#cdc468",
"rgb": {
"r": 205,
"g": 196,
"b": 104
},
"hsl": {
"h": 54.653,
"s": 50.249,
"l": 60.588
},
"oklch": {
"l": 0.8084,
"c": 0.11466,
"h": 103.7
},
"luminance": 0.53458
}Semantic roles & 50–950 ramp
primary
#CDC468
secondary
#464D93
accent
#35BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F