#CCB154#CCB154
#CCB154 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.117 H 93.3°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB154 |
|---|---|
| RGB | rgb(204, 177, 84) |
| HSL | hsl(47, 54%, 56%) |
| HSV | hsv(47, 59%, 80%) |
| CMYK | cmyk(0%, 13.2%, 58.8%, 20%) |
| CIE-LAB | lab(72.84, -1.42, 50.27) |
| CIE-LCH | lch(72.84, 50.29, 91.62°) |
| OKLab | oklab(76.55% -0.0067 0.1167) |
| OKLCH | oklch(76.55% 0.117 93.3) |
| XYZ | xyz(42.2260, 44.9238, 14.8328) |
| Luminance | 0.4492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.17
Tan (survey)
#D1B26F
ΔE00 4.99
Sandy Brown
#C4A661
ΔE00 5.12
Mustard
#DBB42C
ΔE00 5.52
Sandstone
#C9AE74
ΔE00 6.37
Sand Brown
#CBA560
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB154 #546FCC
analogous
#CC7554 #CCB154 #ABCC54
triadic
#CCB154 #54CCB1 #B154CC
tetradic
#CCB154 #54CC75 #546FCC #CC54AB
square
#CCB154 #54CC75 #546FCC #CC54AB
split-complementary
#CCB154 #54ABCC #7554CC
monochromatic
#806B26 #AF9334 #CCB154 #DAC783 #E8DCB2
Accessibility & contrast
On white
2.10
#CCB154 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#CCB154 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB154
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB154 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB154 | 1.00 | 2.10 | 9.98 | 9.98 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE4B
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#DBA59C
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #ccb154; /* rgb */ color: rgb(204, 177, 84); /* oklch */ color: oklch(76.5% 0.117 93.3);
Tailwind
colors: {
custom: {
50: '#dec887',
500: '#ccb154',
950: '#000000',
},
}SCSS
$custom: #ccb154; $custom-light: #dec887; $custom-dark: #000000;
JSON
{
"hex": "#ccb154",
"rgb": {
"r": 204,
"g": 177,
"b": 84
},
"hsl": {
"h": 46.5,
"s": 54.054,
"l": 56.471
},
"oklch": {
"l": 0.76546,
"c": 0.11686,
"h": 93.3
},
"luminance": 0.44922
}Semantic roles & 50–950 ramp
primary
#CCB154
secondary
#A5B0D7
accent
#6BDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C