#CCB45C#CCB45C
#CCB45C is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.112 H 94.4°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB45C |
|---|---|
| RGB | rgb(204, 180, 92) |
| HSL | hsl(47, 52%, 58%) |
| HSV | hsv(47, 55%, 80%) |
| CMYK | cmyk(0%, 11.8%, 54.9%, 20%) |
| CIE-LAB | lab(73.71, -2.38, 47.45) |
| CIE-LCH | lch(73.71, 47.51, 92.87°) |
| OKLab | oklab(77.26% -0.0085 0.1115) |
| OKLCH | oklch(77.26% 0.112 94.4) |
| XYZ | xyz(43.1565, 46.2545, 16.7779) |
| Luminance | 0.4625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.40
Tan (survey)
#D1B26F
ΔE00 4.70
Sandy Brown
#C4A661
ΔE00 5.32
Darkkhaki
#BDB76B
ΔE00 5.68
Sand (survey)
#E2CA76
ΔE00 5.72
Sandstone
#C9AE74
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB45C #5C74CC
analogous
#CC7C5C #CCB45C #ACCC5C
triadic
#CCB45C #5CCCB4 #B45CCC
tetradic
#CCB45C #5CCC7C #5C74CC #CC5CAC
square
#CCB45C #5CCC7C #5C74CC #CC5CAC
split-complementary
#CCB45C #5CACCC #7C5CCC
monochromatic
#847129 #B39938 #CCB45C #DBC98B #E9DFB9
Accessibility & contrast
On white
2.05
#CCB45C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.25
#CCB45C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB45C
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB45C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB45C | 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)
#C4B154
Deuteranopia (green-blind)
#CAB860
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb45c; /* rgb */ color: rgb(204, 180, 92); /* oklch */ color: oklch(77.3% 0.112 94.4);
Tailwind
colors: {
custom: {
50: '#deca8c',
500: '#ccb45c',
950: '#000000',
},
}SCSS
$custom: #ccb45c; $custom-light: #deca8c; $custom-dark: #000000;
JSON
{
"hex": "#ccb45c",
"rgb": {
"r": 204,
"g": 180,
"b": 92
},
"hsl": {
"h": 47.143,
"s": 52.336,
"l": 58.039
},
"oklch": {
"l": 0.7726,
"c": 0.11181,
"h": 94.4
},
"luminance": 0.46253
}Semantic roles & 50–950 ramp
primary
#CCB45C
secondary
#ACB5D8
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D