#CDC168#CDC168
#CDC168 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.112 H 101.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC168 |
|---|---|
| RGB | rgb(205, 193, 104) |
| HSL | hsl(53, 50%, 61%) |
| HSV | hsv(53, 49%, 80%) |
| CMYK | cmyk(0%, 5.9%, 49.3%, 19.6%) |
| CIE-LAB | lab(77.35, -7.71, 45.97) |
| CIE-LCH | lch(77.35, 46.61, 99.52°) |
| OKLab | oklab(80.21% -0.0226 0.1093) |
| OKLCH | oklch(80.21% 0.112 101.7) |
| XYZ | xyz(46.7468, 52.1201, 20.6918) |
| Luminance | 0.5212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.93
Sand (survey)
#E2CA76
ΔE00 4.62
Greenish Beige
#C9D179
ΔE00 6.31
Sandy
#F1DA7A
ΔE00 7.17
Desert
#CCAD60
ΔE00 7.61
Greenish Tan
#BCCB7A
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC168 #6874CD
analogous
#CD8E68 #CDC168 #A7CD68
triadic
#CDC168 #68CDC1 #C168CD
tetradic
#CDC168 #68CD8E #6874CD #CD68A7
square
#CDC168 #68CD8E #6874CD #CD68A7
split-complementary
#CDC168 #68A7CD #8E68CD
monochromatic
#8C812E #BAAB3E #CDC168 #DCD496 #EBE7C4
Accessibility & contrast
On white
1.84
#CDC168 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#CDC168 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC168
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC168 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC168 | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#D3C16C
Tritanopia (blue-blind)
#DAB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc168; /* rgb */ color: rgb(205, 193, 104); /* oklch */ color: oklch(80.2% 0.112 101.7);
Tailwind
colors: {
custom: {
50: '#ded395',
500: '#cdc168',
950: '#000000',
},
}SCSS
$custom: #cdc168; $custom-light: #ded395; $custom-dark: #000000;
JSON
{
"hex": "#cdc168",
"rgb": {
"r": 205,
"g": 193,
"b": 104
},
"hsl": {
"h": 52.871,
"s": 50.249,
"l": 60.588
},
"oklch": {
"l": 0.8021,
"c": 0.11164,
"h": 101.7
},
"luminance": 0.52119
}Semantic roles & 50–950 ramp
primary
#CDC168
secondary
#464F93
accent
#3ABE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F