#CCB56F#CCB56F
#CCB56F is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.093 H 91.9°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB56F |
|---|---|
| RGB | rgb(204, 181, 111) |
| HSL | hsl(45, 48%, 62%) |
| HSV | hsv(45, 46%, 80%) |
| CMYK | cmyk(0%, 11.3%, 45.6%, 20%) |
| CIE-LAB | lab(74.21, -1.19, 38.57) |
| CIE-LCH | lch(74.21, 38.59, 91.77°) |
| OKLab | oklab(77.73% -0.003 0.0934) |
| OKLCH | oklch(77.73% 0.093 91.9) |
| XYZ | xyz(44.2963, 47.0346, 21.7811) |
| Luminance | 0.4703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan (survey)
#D1B26F
ΔE00 2.74
Desert
#CCAD60
ΔE00 3.16
Sandstone
#C9AE74
ΔE00 3.41
Sandy Brown
#C4A661
ΔE00 4.43
Sand
#C2B280
ΔE00 4.55
Very Light Brown
#D3B683
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB56F #6F86CC
analogous
#CC876F #CCB56F #B5CC6F
triadic
#CCB56F #6FCCB5 #B56FCC
tetradic
#CCB56F #6FCC87 #6F86CC #CC6FB5
square
#CCB56F #6FCC87 #6F86CC #CC6FB5
split-complementary
#CCB56F #6FB5CC #876FCC
monochromatic
#8E7832 #BB9D42 #CCB56F #DCCC9C #ECE3C9
Accessibility & contrast
On white
2.02
#CCB56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#CCB56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB56F
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB56F | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B369
Deuteranopia (green-blind)
#C9B972
Tritanopia (blue-blind)
#D9ABA4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #ccb56f; /* rgb */ color: rgb(204, 181, 111); /* oklch */ color: oklch(77.7% 0.093 91.9);
Tailwind
colors: {
custom: {
50: '#ddcb99',
500: '#ccb56f',
950: '#000000',
},
}SCSS
$custom: #ccb56f; $custom-light: #ddcb99; $custom-dark: #000000;
JSON
{
"hex": "#ccb56f",
"rgb": {
"r": 204,
"g": 181,
"b": 111
},
"hsl": {
"h": 45.161,
"s": 47.692,
"l": 61.765
},
"oklch": {
"l": 0.77734,
"c": 0.09341,
"h": 91.9
},
"luminance": 0.47033
}Semantic roles & 50–950 ramp
primary
#CCB56F
secondary
#BAC3DD
accent
#4EBB2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E