#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
RGBrgb(83, 127, 31)
HSLhsl(88, 61%, 31%)
HSVhsv(88, 76%, 50%)
CMYKcmyk(34.6%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.41, -31.00, 44.56)
CIE-LCHlch(48.41, 54.29, 124.83°)
OKLaboklab(54.48% -0.0877 0.0998)
OKLCHoklch(54.48% 0.133 131.3)
XYZxyz(11.4039, 17.1163, 3.9990)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##537F1F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.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

Preview Lab

Preview with #537F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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