#CCB457#CCB457
#CCB457 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.116 H 95.0°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB457 |
|---|---|
| RGB | rgb(204, 180, 87) |
| HSL | hsl(48, 53%, 57%) |
| HSV | hsv(48, 57%, 80%) |
| CMYK | cmyk(0%, 11.8%, 57.4%, 20%) |
| CIE-LAB | lab(73.66, -2.77, 49.78) |
| CIE-LCH | lch(73.66, 49.86, 93.19°) |
| OKLab | oklab(77.2% -0.0102 0.116) |
| OKLCH | oklch(77.2% 0.116 95) |
| XYZ | xyz(42.9451, 46.1700, 15.6646) |
| Luminance | 0.4617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.91
Tan (survey)
#D1B26F
ΔE00 5.37
Sandy Brown
#C4A661
ΔE00 5.83
Sand (survey)
#E2CA76
ΔE00 5.92
Mustard
#DBB42C
ΔE00 5.93
Darkkhaki
#BDB76B
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB457 #576FCC
analogous
#CC7957 #CCB457 #AACC57
triadic
#CCB457 #57CCB4 #B457CC
tetradic
#CCB457 #57CC79 #576FCC #CC57AA
square
#CCB457 #57CC79 #576FCC #CC57AA
split-complementary
#CCB457 #57AACC #7957CC
monochromatic
#816F27 #B09736 #CCB457 #DAC986 #E9DEB5
Accessibility & contrast
On white
2.05
#CCB457 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.23
#CCB457 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB457
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB457 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB457 | 1.00 | 2.05 | 10.23 | 10.23 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B14E
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb457; /* rgb */ color: rgb(204, 180, 87); /* oklch */ color: oklch(77.2% 0.116 95.0);
Tailwind
colors: {
custom: {
50: '#deca89',
500: '#ccb457',
950: '#000000',
},
}SCSS
$custom: #ccb457; $custom-light: #deca89; $custom-dark: #000000;
JSON
{
"hex": "#ccb457",
"rgb": {
"r": 204,
"g": 180,
"b": 87
},
"hsl": {
"h": 47.692,
"s": 53.425,
"l": 57.059
},
"oklch": {
"l": 0.77199,
"c": 0.11643,
"h": 95
},
"luminance": 0.46168
}Semantic roles & 50–950 ramp
primary
#CCB457
secondary
#A8B1D7
accent
#69DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D