#CCB45F#CCB45F
#CCB45F is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.109 H 93.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB45F |
|---|---|
| RGB | rgb(204, 180, 95) |
| HSL | hsl(47, 52%, 59%) |
| HSV | hsv(47, 53%, 80%) |
| CMYK | cmyk(0%, 11.8%, 53.4%, 20%) |
| CIE-LAB | lab(73.74, -2.13, 46.03) |
| CIE-LCH | lch(73.74, 46.08, 92.65°) |
| OKLab | oklab(77.3% -0.0075 0.1087) |
| OKLCH | oklch(77.3% 0.109 93.9) |
| XYZ | xyz(43.2903, 46.3080, 17.4823) |
| Luminance | 0.4631 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.13
Tan (survey)
#D1B26F
ΔE00 4.29
Sandy Brown
#C4A661
ΔE00 5.03
Sandstone
#C9AE74
ΔE00 5.52
Darkkhaki
#BDB76B
ΔE00 5.56
Sand (survey)
#E2CA76
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB45F #5F77CC
analogous
#CC7D5F #CCB45F #ADCC5F
triadic
#CCB45F #5FCCB4 #B45FCC
tetradic
#CCB45F #5FCC7D #5F77CC #CC5FAD
square
#CCB45F #5FCC7D #5F77CC #CC5FAD
split-complementary
#CCB45F #5FADCC #7D5FCC
monochromatic
#86722B #B49939 #CCB45F #DBCA8D #EAE0BC
Accessibility & contrast
On white
2.05
#CCB45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#CCB45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB45F
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB45F | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B157
Deuteranopia (green-blind)
#CAB862
Tritanopia (blue-blind)
#DAA9A0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb45f; /* rgb */ color: rgb(204, 180, 95); /* oklch */ color: oklch(77.3% 0.109 93.9);
Tailwind
colors: {
custom: {
50: '#deca8e',
500: '#ccb45f',
950: '#000000',
},
}SCSS
$custom: #ccb45f; $custom-light: #deca8e; $custom-dark: #000000;
JSON
{
"hex": "#ccb45f",
"rgb": {
"r": 204,
"g": 180,
"b": 95
},
"hsl": {
"h": 46.789,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.77298,
"c": 0.10894,
"h": 93.9
},
"luminance": 0.46306
}Semantic roles & 50–950 ramp
primary
#CCB45F
secondary
#AEB7D9
accent
#6CDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D