#537A1F#537A1F

#537A1F is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.126 H 130.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#537A1F
RGBrgb(83, 122, 31)
HSLhsl(86, 59%, 30%)
HSVhsv(86, 75%, 48%)
CMYKcmyk(32%, 0%, 74.6%, 52.2%)
CIE-LABlab(46.79, -28.65, 42.96)
CIE-LCHlch(46.79, 51.63, 123.70°)
OKLaboklab(53.16% -0.0813 0.0965)
OKLCHoklch(53.16% 0.126 130.1)
XYZxyz(10.7741, 15.8567, 3.7890)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537A1F #461F7A
analogous
#7A731F #537A1F #267A1F
triadic
#537A1F #1F537A #7A1F53
tetradic
#537A1F #1F7A73 #461F7A #7A1F26
square
#537A1F #1F7A73 #461F7A #7A1F26
split-complementary
#537A1F #1F267A #731F7A
monochromatic
#111806 #324913 #537A1F #74AB2B #94CF44

Accessibility & contrast

On white

5.03
#537A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#537A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #537A1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##537A1F#FFFFFF#000000##FFFFFF
##537A1F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#557568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #537a1f;
/* rgb */ color: rgb(83, 122, 31);
/* oklch */ color: oklch(53.2% 0.126 130.1);
Tailwind
colors: {
  custom: {
    50: '#87a061',
    500: '#537a1f',
    950: '#000000',
  },
}
SCSS
$custom: #537a1f;
$custom-light: #87a061;
$custom-dark: #000000;
JSON
{
  "hex": "#537a1f",
  "rgb": {
    "r": 83,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 85.714,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.12618,
    "h": 130.1
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#537A1F
secondary
#7347AD
accent
#45E389
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #537A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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