#538E20#538E20

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

Color values

HEX#538E20
RGBrgb(83, 142, 32)
HSLhsl(92, 63%, 34%)
HSVhsv(92, 77%, 56%)
CMYKcmyk(41.5%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.26, -37.67, 48.95)
CIE-LCHlch(53.26, 61.76, 127.58°)
OKLaboklab(58.45% -0.1057 0.1092)
OKLCHoklch(58.45% 0.152 134.1)
XYZxyz(13.5007, 21.2886, 4.7640)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E20 #5B208E
analogous
#8A8E20 #538E20 #208E24
triadic
#538E20 #20538E #8E2053
tetradic
#538E20 #208A8E #5B208E #8E2420
square
#538E20 #208A8E #5B208E #8E2420
split-complementary
#538E20 #24208E #8E208A
monochromatic
#192A09 #365C15 #538E20 #70C02B #8FD851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538E20#FFFFFF#000000##000000
##538E201.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)
#948206
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e20;
/* rgb */ color: rgb(83, 142, 32);
/* oklch */ color: oklch(58.5% 0.152 134.1);
Tailwind
colors: {
  custom: {
    50: '#89af64',
    500: '#538e20',
    950: '#000000',
  },
}
SCSS
$custom: #538e20;
$custom-light: #89af64;
$custom-dark: #000000;
JSON
{
  "hex": "#538e20",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 92.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.15196,
    "h": 134.1
  },
  "luminance": 0.21289
}

Semantic roles & 50–950 ramp

primary
#538E20
secondary
#894FBB
accent
#42E69A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538E20

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

Preview Lab → · Contrast checker → · Palette generator →

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