#537D1F#537D1F

#537D1F is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.130 H 130.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#537D1F
RGBrgb(83, 125, 31)
HSLhsl(87, 60%, 31%)
HSVhsv(87, 75%, 49%)
CMYKcmyk(33.6%, 0%, 75.2%, 51%)
CIE-LABlab(47.76, -30.07, 43.92)
CIE-LCHlch(47.76, 53.23, 124.39°)
OKLaboklab(53.95% -0.0852 0.0985)
OKLCHoklch(53.95% 0.13 130.9)
XYZxyz(11.1481, 16.6048, 3.9137)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537D1F #491F7D
analogous
#7D781F #537D1F #247D1F
triadic
#537D1F #1F537D #7D1F53
tetradic
#537D1F #1F7D78 #491F7D #7D1F24
square
#537D1F #1F7D78 #491F7D #7D1F24
split-complementary
#537D1F #1F247D #781F7D
monochromatic
#121B07 #324C13 #537D1F #74AE2B #93D145

Accessibility & contrast

On white

4.86
#537D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#537D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #537D1F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##537D1F#FFFFFF#000000##FFFFFF
##537D1F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#55776B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #537d1f;
/* rgb */ color: rgb(83, 125, 31);
/* oklch */ color: oklch(53.9% 0.130 130.9);
Tailwind
colors: {
  custom: {
    50: '#87a362',
    500: '#537d1f',
    950: '#000000',
  },
}
SCSS
$custom: #537d1f;
$custom-light: #87a362;
$custom-dark: #000000;
JSON
{
  "hex": "#537d1f",
  "rgb": {
    "r": 83,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 86.809,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.13023,
    "h": 130.9
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#537D1F
secondary
#7648B0
accent
#44E38B
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #537D1F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#537D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva