#CCB050#CCB050
#CCB050 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.120 H 93.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB050 |
|---|---|
| RGB | rgb(204, 176, 80) |
| HSL | hsl(46, 55%, 56%) |
| HSV | hsv(46, 61%, 80%) |
| CMYK | cmyk(0%, 13.7%, 60.8%, 20%) |
| CIE-LAB | lab(72.54, -1.18, 51.79) |
| CIE-LCH | lch(72.54, 51.81, 91.30°) |
| OKLab | oklab(76.3% -0.0065 0.1195) |
| OKLCH | oklch(76.3% 0.12 93.1) |
| XYZ | xyz(41.8770, 44.4694, 13.9655) |
| Luminance | 0.4447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.38
Mustard
#DBB42C
ΔE00 5.11
Sandy Brown
#C4A661
ΔE00 5.27
Tan (survey)
#D1B26F
ΔE00 5.32
Brownish Yellow
#C9B003
ΔE00 6.10
Burnt Yellow
#D5AB09
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB050 #506CCC
analogous
#CC7250 #CCB050 #AACC50
triadic
#CCB050 #50CCB0 #B050CC
tetradic
#CCB050 #50CC72 #506CCC #CC50AA
square
#CCB050 #50CC72 #506CCC #CC50AA
split-complementary
#CCB050 #50AACC #7250CC
monochromatic
#7D6924 #AD9132 #CCB050 #DAC57F #E8DBAF
Accessibility & contrast
On white
2.12
#CCB050 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CCB050 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB050
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB050 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB050 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD46
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#DBA39B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb050; /* rgb */ color: rgb(204, 176, 80); /* oklch */ color: oklch(76.3% 0.120 93.1);
Tailwind
colors: {
custom: {
50: '#dfc784',
500: '#ccb050',
950: '#000000',
},
}SCSS
$custom: #ccb050; $custom-light: #dfc784; $custom-dark: #000000;
JSON
{
"hex": "#ccb050",
"rgb": {
"r": 204,
"g": 176,
"b": 80
},
"hsl": {
"h": 46.452,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.76295,
"c": 0.11963,
"h": 93.1
},
"luminance": 0.44467
}Semantic roles & 50–950 ramp
primary
#CCB050
secondary
#A2AED6
accent
#6BDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C