#527D1F#527D1F
#527D1F is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.131 H 131.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #527D1F |
|---|---|
| RGB | rgb(82, 125, 31) |
| HSL | hsl(87, 60%, 31%) |
| HSV | hsv(87, 75%, 49%) |
| CMYK | cmyk(34.4%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(47.70, -30.46, 43.85) |
| CIE-LCH | lch(47.70, 53.39, 124.79°) |
| OKLab | oklab(53.89% -0.0862 0.0984) |
| OKLCH | oklch(53.89% 0.131 131.2) |
| XYZ | xyz(11.0605, 16.5596, 3.9096) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.40
Dark Grass Green
#388004
ΔE00 4.18
Dirty Green
#667E2C
ΔE00 4.21
Swamp
#698339
ΔE00 5.30
Sap Green
#5C8B15
ΔE00 5.64
Tree Green
#2A7E19
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#527D1F #4A1F7D
analogous
#7D791F #527D1F #237D1F
triadic
#527D1F #1F527D #7D1F52
tetradic
#527D1F #1F7D79 #4A1F7D #7D1F23
square
#527D1F #1F7D79 #4A1F7D #7D1F23
split-complementary
#527D1F #1F237D #791F7D
monochromatic
#121B07 #324C13 #527D1F #72AE2B #91D145
Accessibility & contrast
On white
4.87
#527D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#527D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #527D1F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##527D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##527D1F | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#54786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #527d1f; /* rgb */ color: rgb(82, 125, 31); /* oklch */ color: oklch(53.9% 0.131 131.2);
Tailwind
colors: {
custom: {
50: '#86a362',
500: '#527d1f',
950: '#000000',
},
}SCSS
$custom: #527d1f; $custom-light: #86a362; $custom-dark: #000000;
JSON
{
"hex": "#527d1f",
"rgb": {
"r": 82,
"g": 125,
"b": 31
},
"hsl": {
"h": 87.447,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.53887,
"c": 0.13078,
"h": 131.2
},
"luminance": 0.1656
}Semantic roles & 50–950 ramp
primary
#527D1F
secondary
#7748B0
accent
#44E38D
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A