#CCB157#CCB157
#CCB157 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.114 H 92.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB157 |
|---|---|
| RGB | rgb(204, 177, 87) |
| HSL | hsl(46, 53%, 57%) |
| HSV | hsv(46, 57%, 80%) |
| CMYK | cmyk(0%, 13.2%, 57.4%, 20%) |
| CIE-LAB | lab(72.87, -1.19, 48.88) |
| CIE-LCH | lch(72.87, 48.89, 91.40°) |
| OKLab | oklab(76.58% -0.0057 0.114) |
| OKLCH | oklch(76.58% 0.114 92.9) |
| XYZ | xyz(42.3460, 44.9718, 15.4649) |
| Luminance | 0.4497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.79
Tan (survey)
#D1B26F
ΔE00 4.56
Sandy Brown
#C4A661
ΔE00 4.77
Mustard
#DBB42C
ΔE00 5.85
Sandstone
#C9AE74
ΔE00 5.93
Sand Brown
#CBA560
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB157 #5772CC
analogous
#CC7757 #CCB157 #ADCC57
triadic
#CCB157 #57CCB1 #B157CC
tetradic
#CCB157 #57CC77 #5772CC #CC57AD
square
#CCB157 #57CC77 #5772CC #CC57AD
split-complementary
#CCB157 #57ADCC #7757CC
monochromatic
#816D27 #B09436 #CCB157 #DAC786 #E9DDB5
Accessibility & contrast
On white
2.10
#CCB157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#CCB157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB157
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB157 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#DBA59D
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #ccb157; /* rgb */ color: rgb(204, 177, 87); /* oklch */ color: oklch(76.6% 0.114 92.9);
Tailwind
colors: {
custom: {
50: '#dec889',
500: '#ccb157',
950: '#000000',
},
}SCSS
$custom: #ccb157; $custom-light: #dec889; $custom-dark: #000000;
JSON
{
"hex": "#ccb157",
"rgb": {
"r": 204,
"g": 177,
"b": 87
},
"hsl": {
"h": 46.154,
"s": 53.425,
"l": 57.059
},
"oklch": {
"l": 0.76581,
"c": 0.11418,
"h": 92.9
},
"luminance": 0.4497
}Semantic roles & 50–950 ramp
primary
#CCB157
secondary
#A8B3D7
accent
#6DDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D