#CCB45B#CCB45B
#CCB45B is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.113 H 94.5°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB45B |
|---|---|
| RGB | rgb(204, 180, 91) |
| HSL | hsl(47, 53%, 58%) |
| HSV | hsv(47, 55%, 80%) |
| CMYK | cmyk(0%, 11.8%, 55.4%, 20%) |
| CIE-LAB | lab(73.70, -2.46, 47.92) |
| CIE-LCH | lch(73.70, 47.98, 92.94°) |
| OKLab | oklab(77.25% -0.0089 0.1124) |
| OKLCH | oklch(77.25% 0.113 94.5) |
| XYZ | xyz(43.1131, 46.2372, 16.5492) |
| Luminance | 0.4623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.50
Tan (survey)
#D1B26F
ΔE00 4.83
Sandy Brown
#C4A661
ΔE00 5.42
Darkkhaki
#BDB76B
ΔE00 5.72
Sand (survey)
#E2CA76
ΔE00 5.76
Sandstone
#C9AE74
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB45B #5B73CC
analogous
#CC7C5B #CCB45B #ABCC5B
triadic
#CCB45B #5BCCB4 #B45BCC
tetradic
#CCB45B #5BCC7C #5B73CC #CC5BAB
square
#CCB45B #5BCC7C #5B73CC #CC5BAB
split-complementary
#CCB45B #5BABCC #7C5BCC
monochromatic
#847029 #B29837 #CCB45B #DBC98A #E9DFB8
Accessibility & contrast
On white
2.05
#CCB45B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.25
#CCB45B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB45B
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB45B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB45B | 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)
#C4B153
Deuteranopia (green-blind)
#CAB85F
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb45b; /* rgb */ color: rgb(204, 180, 91); /* oklch */ color: oklch(77.2% 0.113 94.5);
Tailwind
colors: {
custom: {
50: '#deca8c',
500: '#ccb45b',
950: '#000000',
},
}SCSS
$custom: #ccb45b; $custom-light: #deca8c; $custom-dark: #000000;
JSON
{
"hex": "#ccb45b",
"rgb": {
"r": 204,
"g": 180,
"b": 91
},
"hsl": {
"h": 47.257,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.77247,
"c": 0.11275,
"h": 94.5
},
"luminance": 0.46235
}Semantic roles & 50–950 ramp
primary
#CCB45B
secondary
#ABB4D8
accent
#6ADC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D