#538C1F#538C1F

#538C1F is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.150 H 133.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#538C1F
RGBrgb(83, 140, 31)
HSLhsl(91, 64%, 34%)
HSVhsv(91, 78%, 55%)
CMYKcmyk(40.7%, 0%, 77.9%, 45.1%)
CIE-LABlab(52.61, -36.86, 48.66)
CIE-LCHlch(52.61, 61.05, 127.14°)
OKLaboklab(57.91% -0.1036 0.1084)
OKLCHoklch(57.91% 0.15 133.7)
XYZxyz(13.1925, 20.6934, 4.5952)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C1F #581F8C
analogous
#898C1F #538C1F #1F8C21
triadic
#538C1F #1F538C #8C1F53
tetradic
#538C1F #1F898C #581F8C #8C211F
square
#538C1F #1F898C #581F8C #8C211F
split-complementary
#538C1F #211F8C #8C1F89
monochromatic
#182809 #355A14 #538C1F #71BE2A #90D84E

Accessibility & contrast

On white

4.09
#538C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#538C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C1F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C1F#FFFFFF#000000##000000
##538C1F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#538677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c1f;
/* rgb */ color: rgb(83, 140, 31);
/* oklch */ color: oklch(57.9% 0.150 133.7);
Tailwind
colors: {
  custom: {
    50: '#89ae64',
    500: '#538c1f',
    950: '#000000',
  },
}
SCSS
$custom: #538c1f;
$custom-light: #89ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#538c1f",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 91.376,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.14995,
    "h": 133.7
  },
  "luminance": 0.20694
}

Semantic roles & 50–950 ramp

primary
#538C1F
secondary
#864CBB
accent
#41E798
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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