#CCB156#CCB156
#CCB156 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.115 H 93.0°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB156 |
|---|---|
| RGB | rgb(204, 177, 86) |
| HSL | hsl(46, 54%, 57%) |
| HSV | hsv(46, 58%, 80%) |
| CMYK | cmyk(0%, 13.2%, 57.8%, 20%) |
| CIE-LAB | lab(72.86, -1.27, 49.34) |
| CIE-LCH | lch(72.86, 49.36, 91.47°) |
| OKLab | oklab(76.57% -0.006 0.1149) |
| OKLCH | oklch(76.57% 0.115 93) |
| XYZ | xyz(42.3055, 44.9556, 15.2512) |
| Luminance | 0.4495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.92
Tan (survey)
#D1B26F
ΔE00 4.70
Sandy Brown
#C4A661
ΔE00 4.89
Mustard
#DBB42C
ΔE00 5.74
Sandstone
#C9AE74
ΔE00 6.08
Sand Brown
#CBA560
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB156 #5671CC
analogous
#CC7656 #CCB156 #ACCC56
triadic
#CCB156 #56CCB1 #B156CC
tetradic
#CCB156 #56CC76 #5671CC #CC56AC
square
#CCB156 #56CC76 #5671CC #CC56AC
split-complementary
#CCB156 #56ACCC #7656CC
monochromatic
#816C27 #B09435 #CCB156 #DAC785 #E8DCB4
Accessibility & contrast
On white
2.10
#CCB156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#CCB156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB156
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB156 | 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)
#C1AE4D
Deuteranopia (green-blind)
#C8B65A
Tritanopia (blue-blind)
#DBA59D
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #ccb156; /* rgb */ color: rgb(204, 177, 86); /* oklch */ color: oklch(76.6% 0.115 93.0);
Tailwind
colors: {
custom: {
50: '#dec888',
500: '#ccb156',
950: '#000000',
},
}SCSS
$custom: #ccb156; $custom-light: #dec888; $custom-dark: #000000;
JSON
{
"hex": "#ccb156",
"rgb": {
"r": 204,
"g": 177,
"b": 86
},
"hsl": {
"h": 46.271,
"s": 53.636,
"l": 56.863
},
"oklch": {
"l": 0.76569,
"c": 0.11509,
"h": 93
},
"luminance": 0.44954
}Semantic roles & 50–950 ramp
primary
#CCB156
secondary
#A7B2D7
accent
#6CDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D