#537B1F#537B1F

#537B1F is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.128 H 130.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#537B1F
RGBrgb(83, 123, 31)
HSLhsl(86, 60%, 30%)
HSVhsv(86, 75%, 48%)
CMYKcmyk(32.5%, 0%, 74.8%, 51.8%)
CIE-LABlab(47.11, -29.12, 43.28)
CIE-LCHlch(47.11, 52.16, 123.94°)
OKLaboklab(53.42% -0.0826 0.0971)
OKLCHoklch(53.42% 0.128 130.4)
XYZxyz(10.8975, 16.1035, 3.8302)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537B1F #471F7B
analogous
#7B751F #537B1F #257B1F
triadic
#537B1F #1F537B #7B1F53
tetradic
#537B1F #1F7B75 #471F7B #7B1F25
square
#537B1F #1F7B75 #471F7B #7B1F25
split-complementary
#537B1F #1F257B #751F7B
monochromatic
#111906 #324A13 #537B1F #74AC2B #93D044

Accessibility & contrast

On white

4.98
#537B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#537B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #537B1F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##537B1F#FFFFFF#000000##FFFFFF
##537B1F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#557669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #537b1f;
/* rgb */ color: rgb(83, 123, 31);
/* oklch */ color: oklch(53.4% 0.128 130.4);
Tailwind
colors: {
  custom: {
    50: '#87a161',
    500: '#537b1f',
    950: '#000000',
  },
}
SCSS
$custom: #537b1f;
$custom-light: #87a161;
$custom-dark: #000000;
JSON
{
  "hex": "#537b1f",
  "rgb": {
    "r": 83,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 86.087,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.12752,
    "h": 130.4
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#537B1F
secondary
#7448AE
accent
#45E38A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F05
muted
#7D7E7A

Preview Lab

Preview with #537B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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