#538A21#538A21

#538A21 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.146 H 133.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#538A21
RGBrgb(83, 138, 33)
HSLhsl(91, 61%, 34%)
HSVhsv(91, 76%, 54%)
CMYKcmyk(39.9%, 0%, 76.1%, 45.9%)
CIE-LABlab(51.98, -35.86, 47.34)
CIE-LCHlch(51.98, 59.38, 127.14°)
OKLaboklab(57.4% -0.1007 0.106)
OKLCHoklch(57.4% 0.146 133.6)
XYZxyz(12.9301, 20.1251, 4.6418)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A21 #58218A
analogous
#878A21 #538A21 #218A23
triadic
#538A21 #21538A #8A2153
tetradic
#538A21 #21878A #58218A #8A2321
square
#538A21 #21878A #58218A #8A2321
split-complementary
#538A21 #23218A #8A2187
monochromatic
#182709 #355915 #538A21 #71BB2D #90D550

Accessibility & contrast

On white

4.18
#538A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#538A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A21
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A21#FFFFFF#000000##000000
##538A211.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#538476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a21;
/* rgb */ color: rgb(83, 138, 33);
/* oklch */ color: oklch(57.4% 0.146 133.6);
Tailwind
colors: {
  custom: {
    50: '#88ac64',
    500: '#538a21',
    950: '#000000',
  },
}
SCSS
$custom: #538a21;
$custom-light: #88ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#538a21",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 91.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.574,
    "c": 0.14619,
    "h": 133.6
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#538A21
secondary
#864EB9
accent
#43E598
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538A21

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

Preview Lab → · Contrast checker → · Palette generator →

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