#CCB45D#CCB45D
#CCB45D is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.111 H 94.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB45D |
|---|---|
| RGB | rgb(204, 180, 93) |
| HSL | hsl(47, 52%, 58%) |
| HSV | hsv(47, 54%, 80%) |
| CMYK | cmyk(0%, 11.8%, 54.4%, 20%) |
| CIE-LAB | lab(73.72, -2.30, 46.98) |
| CIE-LCH | lch(73.72, 47.03, 92.80°) |
| OKLab | oklab(77.27% -0.0082 0.1106) |
| OKLCH | oklch(77.27% 0.111 94.2) |
| XYZ | xyz(43.2005, 46.2721, 17.0097) |
| Luminance | 0.4627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.31
Tan (survey)
#D1B26F
ΔE00 4.56
Sandy Brown
#C4A661
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 5.63
Sand (survey)
#E2CA76
ΔE00 5.70
Sandstone
#C9AE74
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB45D #5D75CC
analogous
#CC7C5D #CCB45D #ACCC5D
triadic
#CCB45D #5DCCB4 #B45DCC
tetradic
#CCB45D #5DCC7C #5D75CC #CC5DAC
square
#CCB45D #5DCC7C #5D75CC #CC5DAC
split-complementary
#CCB45D #5DACCC #7C5DCC
monochromatic
#85712A #B39938 #CCB45D #DBCA8C #E9DFBA
Accessibility & contrast
On white
2.05
#CCB45D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.25
#CCB45D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB45D
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB45D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB45D | 1.00 | 2.05 | 10.25 | 10.25 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B155
Deuteranopia (green-blind)
#CAB861
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb45d; /* rgb */ color: rgb(204, 180, 93); /* oklch */ color: oklch(77.3% 0.111 94.2);
Tailwind
colors: {
custom: {
50: '#deca8d',
500: '#ccb45d',
950: '#000000',
},
}SCSS
$custom: #ccb45d; $custom-light: #deca8d; $custom-dark: #000000;
JSON
{
"hex": "#ccb45d",
"rgb": {
"r": 204,
"g": 180,
"b": 93
},
"hsl": {
"h": 47.027,
"s": 52.113,
"l": 58.235
},
"oklch": {
"l": 0.77273,
"c": 0.11085,
"h": 94.2
},
"luminance": 0.4627
}Semantic roles & 50–950 ramp
primary
#CCB45D
secondary
#ACB6D9
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D