#52521F#52521F
#52521F is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.072 H 109.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #52521F |
|---|---|
| RGB | rgb(82, 82, 31) |
| HSL | hsl(60, 45%, 22%) |
| HSV | hsv(60, 62%, 32%) |
| CMYK | cmyk(0%, 0%, 62.2%, 67.8%) |
| CIE-LAB | lab(33.83, -7.79, 29.29) |
| CIE-LCH | lch(33.83, 30.31, 104.89°) |
| OKLab | oklab(42.69% -0.0234 0.0677) |
| OKLCH | oklch(42.69% 0.072 109.1) |
| XYZ | xyz(6.7445, 7.9275, 2.4709) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 4.82
Dark Olive Green
#3C4D03
ΔE00 6.64
Army Green
#4B5D16
ΔE00 6.69
Dark Olive
#373E02
ΔE00 7.55
Olive Brown
#645403
ΔE00 7.90
Greenish Brown
#696112
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52521F #1F1F52
analogous
#52391F #52521F #39521F
triadic
#52521F #1F5252 #521F52
tetradic
#52521F #1F5239 #1F1F52 #521F39
square
#52521F #1F5239 #1F1F52 #521F39
split-complementary
#52521F #1F3952 #391F52
monochromatic
#161608 #26260E #52521F #7E7E30 #ABAB41
Accessibility & contrast
On white
8.12
#52521F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#52521F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52521F
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52521F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52521F | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F1A
Deuteranopia (green-blind)
#595022
Tritanopia (blue-blind)
#584D47
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #52521f; /* rgb */ color: rgb(82, 82, 31); /* oklch */ color: oklch(42.7% 0.072 109.1);
Tailwind
colors: {
custom: {
50: '#84825d',
500: '#52521f',
950: '#000000',
},
}SCSS
$custom: #52521f; $custom-light: #84825d; $custom-dark: #000000;
JSON
{
"hex": "#52521f",
"rgb": {
"r": 82,
"g": 82,
"b": 31
},
"hsl": {
"h": 60,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.42689,
"c": 0.07162,
"h": 109.1
},
"luminance": 0.07927
}Semantic roles & 50–950 ramp
primary
#52521F
secondary
#464687
accent
#53D553
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79