#CCB052#CCB052
#CCB052 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.118 H 92.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB052 |
|---|---|
| RGB | rgb(204, 176, 82) |
| HSL | hsl(46, 54%, 56%) |
| HSV | hsv(46, 60%, 80%) |
| CMYK | cmyk(0%, 13.7%, 59.8%, 20%) |
| CIE-LAB | lab(72.56, -1.04, 50.89) |
| CIE-LCH | lch(72.56, 50.90, 91.17°) |
| OKLab | oklab(76.32% -0.0058 0.1178) |
| OKLCH | oklch(76.32% 0.118 92.8) |
| XYZ | xyz(41.9520, 44.4993, 14.3605) |
| Luminance | 0.4450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.11
Sandy Brown
#C4A661
ΔE00 5.03
Tan (survey)
#D1B26F
ΔE00 5.04
Mustard
#DBB42C
ΔE00 5.32
Sand Brown
#CBA560
ΔE00 6.32
Brownish Yellow
#C9B003
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB052 #526ECC
analogous
#CC7352 #CCB052 #ABCC52
triadic
#CCB052 #52CCB0 #B052CC
tetradic
#CCB052 #52CC73 #526ECC #CC52AB
square
#CCB052 #52CC73 #526ECC #CC52AB
split-complementary
#CCB052 #52ABCC #7352CC
monochromatic
#7E6A25 #AE9233 #CCB052 #DAC681 #E8DBB1
Accessibility & contrast
On white
2.12
#CCB052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#CCB052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB052
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB052 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#DBA49B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb052; /* rgb */ color: rgb(204, 176, 82); /* oklch */ color: oklch(76.3% 0.118 92.8);
Tailwind
colors: {
custom: {
50: '#dec786',
500: '#ccb052',
950: '#000000',
},
}SCSS
$custom: #ccb052; $custom-light: #dec786; $custom-dark: #000000;
JSON
{
"hex": "#ccb052",
"rgb": {
"r": 204,
"g": 176,
"b": 82
},
"hsl": {
"h": 46.23,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.76317,
"c": 0.1179,
"h": 92.8
},
"luminance": 0.44497
}Semantic roles & 50–950 ramp
primary
#CCB052
secondary
#A4AFD6
accent
#6CDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C