#526142#526142
#526142 is a mid, muted yellow-green. Relative luminance 0.107; OKLCH L 47.1% C 0.051 H 129.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #526142 |
|---|---|
| RGB | rgb(82, 97, 66) |
| HSL | hsl(89, 19%, 32%) |
| HSV | hsv(89, 32%, 38%) |
| CMYK | cmyk(15.5%, 0%, 32%, 62%) |
| CIE-LAB | lab(39.13, -11.98, 15.84) |
| CIE-LCH | lch(39.13, 19.86, 127.10°) |
| OKLab | oklab(47.1% -0.0324 0.0398) |
| OKLCH | oklch(47.1% 0.051 129.2) |
| XYZ | xyz(8.7376, 10.7365, 6.7652) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Hunter Green
#355E3B
ΔE00 7.37
Darkolivegreen
#556B2F
ΔE00 7.84
Camo Green
#526525
ΔE00 8.24
Pine
#2B5D34
ΔE00 9.04
Forest Green
#2D5A27
ΔE00 9.33
Army Green
#4B5D16
ΔE00 9.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#526142 #514261
analogous
#616142 #526142 #436142
triadic
#526142 #425261 #614252
tetradic
#526142 #426161 #514261 #614243
square
#526142 #426161 #514261 #614243
split-complementary
#526142 #424361 #614261
monochromatic
#141810 #333D29 #526142 #71855B #8FA479
Accessibility & contrast
On white
6.67
#526142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#526142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #526142
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##526142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##526142 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645D40
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#535E59
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #526142; /* rgb */ color: rgb(82, 97, 66); /* oklch */ color: oklch(47.1% 0.051 129.2);
Tailwind
colors: {
custom: {
50: '#838e76',
500: '#526142',
950: '#000000',
},
}SCSS
$custom: #526142; $custom-light: #838e76; $custom-dark: #000000;
JSON
{
"hex": "#526142",
"rgb": {
"r": 82,
"g": 97,
"b": 66
},
"hsl": {
"h": 89.032,
"s": 19.018,
"l": 31.961
},
"oklch": {
"l": 0.47104,
"c": 0.05133,
"h": 129.2
},
"luminance": 0.10737
}Semantic roles & 50–950 ramp
primary
#526142
secondary
#7F6E90
accent
#6CBC93
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0A0C08
muted
#7C7D7B