#538D1F#538D1F

#538D1F is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.151 H 133.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#538D1F
RGBrgb(83, 141, 31)
HSLhsl(92, 64%, 34%)
HSVhsv(92, 78%, 55%)
CMYKcmyk(41.1%, 0%, 78%, 44.7%)
CIE-LABlab(52.94, -37.30, 48.98)
CIE-LCHlch(52.94, 61.56, 127.29°)
OKLaboklab(58.18% -0.1048 0.1091)
OKLCHoklch(58.18% 0.151 133.8)
XYZxyz(13.3392, 20.9870, 4.6441)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D1F #591F8D
analogous
#8A8D1F #538D1F #1F8D22
triadic
#538D1F #1F538D #8D1F53
tetradic
#538D1F #1F8A8D #591F8D #8D221F
square
#538D1F #1F8A8D #591F8D #8D221F
split-complementary
#538D1F #221F8D #8D1F8A
monochromatic
#182909 #355B14 #538D1F #71BF2A #8FD84E

Accessibility & contrast

On white

4.04
#538D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#538D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D1F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D1F#FFFFFF#000000##000000
##538D1F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d1f;
/* rgb */ color: rgb(83, 141, 31);
/* oklch */ color: oklch(58.2% 0.151 133.8);
Tailwind
colors: {
  custom: {
    50: '#89af64',
    500: '#538d1f',
    950: '#000000',
  },
}
SCSS
$custom: #538d1f;
$custom-light: #89af64;
$custom-dark: #000000;
JSON
{
  "hex": "#538d1f",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 91.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.15124,
    "h": 133.8
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#538D1F
secondary
#874DBB
accent
#41E798
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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