#538E1F#538E1F

#538E1F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.153 H 134.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#538E1F
RGBrgb(83, 142, 31)
HSLhsl(92, 64%, 34%)
HSVhsv(92, 78%, 56%)
CMYKcmyk(41.5%, 0%, 78.2%, 44.3%)
CIE-LABlab(53.26, -37.73, 49.28)
CIE-LCHlch(53.26, 62.07, 127.44°)
OKLaboklab(58.44% -0.1059 0.1097)
OKLCHoklch(58.44% 0.153 134)
XYZxyz(13.4874, 21.2832, 4.6935)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E1F #5A1F8E
analogous
#8B8E1F #538E1F #1F8E23
triadic
#538E1F #1F538E #8E1F53
tetradic
#538E1F #1F8B8E #5A1F8E #8E231F
square
#538E1F #1F8B8E #5A1F8E #8E231F
split-complementary
#538E1F #231F8E #8E1F8B
monochromatic
#182A09 #365C14 #538E1F #70C02A #8FD94F

Accessibility & contrast

On white

3.99
#538E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#538E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538E1F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538E1F#FFFFFF#000000##000000
##538E1F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948204
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e1f;
/* rgb */ color: rgb(83, 142, 31);
/* oklch */ color: oklch(58.4% 0.153 134.0);
Tailwind
colors: {
  custom: {
    50: '#89af64',
    500: '#538e1f',
    950: '#000000',
  },
}
SCSS
$custom: #538e1f;
$custom-light: #89af64;
$custom-dark: #000000;
JSON
{
  "hex": "#538e1f",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 91.892,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.15252,
    "h": 134
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#538E1F
secondary
#884DBB
accent
#41E799
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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