#538D20#538D20

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

Color values

HEX#538D20
RGBrgb(83, 141, 32)
HSLhsl(92, 63%, 34%)
HSVhsv(92, 77%, 55%)
CMYKcmyk(41.1%, 0%, 77.3%, 44.7%)
CIE-LABlab(52.94, -37.24, 48.63)
CIE-LCHlch(52.94, 61.25, 127.44°)
OKLaboklab(58.18% -0.1045 0.1085)
OKLCHoklch(58.18% 0.151 133.9)
XYZxyz(13.3526, 20.9924, 4.7146)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D20 #5A208D
analogous
#8A8D20 #538D20 #208D24
triadic
#538D20 #20538D #8D2053
tetradic
#538D20 #208A8D #5A208D #8D2420
square
#538D20 #208A8D #5A208D #8D2420
split-complementary
#538D20 #24208D #8D208A
monochromatic
#182909 #365B15 #538D20 #70BF2B #8FD750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D20#FFFFFF#000000##000000
##538D201.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)
#938107
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d20;
/* rgb */ color: rgb(83, 141, 32);
/* oklch */ color: oklch(58.2% 0.151 133.9);
Tailwind
colors: {
  custom: {
    50: '#89af64',
    500: '#538d20',
    950: '#000000',
  },
}
SCSS
$custom: #538d20;
$custom-light: #89af64;
$custom-dark: #000000;
JSON
{
  "hex": "#538d20",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 91.927,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.15067,
    "h": 133.9
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#538D20
secondary
#884EBA
accent
#42E699
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D20

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

Preview Lab → · Contrast checker → · Palette generator →

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