#537F1F#537F1F
#537F1F is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.5% C 0.133 H 131.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #537F1F |
|---|---|
| RGB | rgb(83, 127, 31) |
| HSL | hsl(88, 61%, 31%) |
| HSV | hsv(88, 76%, 50%) |
| CMYK | cmyk(34.6%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(48.41, -31.00, 44.56) |
| CIE-LCH | lch(48.41, 54.29, 124.83°) |
| OKLab | oklab(54.48% -0.0877 0.0998) |
| OKLCH | oklch(54.48% 0.133 131.3) |
| XYZ | xyz(11.4039, 17.1163, 3.9990) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.92
Dark Grass Green
#388004
ΔE00 4.09
Dirty Green
#667E2C
ΔE00 4.16
Sap Green
#5C8B15
ΔE00 4.90
Mossy Green
#638B27
ΔE00 4.95
Swamp
#698339
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#537F1F #4B1F7F
analogous
#7F7B1F #537F1F #237F1F
triadic
#537F1F #1F537F #7F1F53
tetradic
#537F1F #1F7F7B #4B1F7F #7F1F23
square
#537F1F #1F7F7B #4B1F7F #7F1F23
split-complementary
#537F1F #1F237F #7B1F7F
monochromatic
#131D07 #334E13 #537F1F #73B02B #92D246
Accessibility & contrast
On white
4.75
#537F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#537F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #537F1F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##537F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##537F1F | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#55796C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #537f1f; /* rgb */ color: rgb(83, 127, 31); /* oklch */ color: oklch(54.5% 0.133 131.3);
Tailwind
colors: {
custom: {
50: '#87a462',
500: '#537f1f',
950: '#000000',
},
}SCSS
$custom: #537f1f; $custom-light: #87a462; $custom-dark: #000000;
JSON
{
"hex": "#537f1f",
"rgb": {
"r": 83,
"g": 127,
"b": 31
},
"hsl": {
"h": 87.5,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.54478,
"c": 0.13291,
"h": 131.3
},
"luminance": 0.17117
}Semantic roles & 50–950 ramp
primary
#537F1F
secondary
#7848B2
accent
#44E48D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A