#538D21#538D21

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

Color values

HEX#538D21
RGBrgb(83, 141, 33)
HSLhsl(92, 62%, 34%)
HSVhsv(92, 77%, 55%)
CMYKcmyk(41.1%, 0%, 76.6%, 44.7%)
CIE-LABlab(52.95, -37.17, 48.28)
CIE-LCHlch(52.95, 60.94, 127.59°)
OKLaboklab(58.19% -0.1043 0.1079)
OKLCHoklch(58.19% 0.15 134)
XYZxyz(13.3664, 20.9979, 4.7873)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D21 #5B218D
analogous
#898D21 #538D21 #218D25
triadic
#538D21 #21538D #8D2153
tetradic
#538D21 #21898D #5B218D #8D2521
square
#538D21 #21898D #5B218D #8D2521
split-complementary
#538D21 #25218D #8D2189
monochromatic
#192A0A #365B15 #538D21 #70BF2D #8FD652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D21#FFFFFF#000000##000000
##538D211.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)
#938109
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d21;
/* rgb */ color: rgb(83, 141, 33);
/* oklch */ color: oklch(58.2% 0.150 134.0);
Tailwind
colors: {
  custom: {
    50: '#89af65',
    500: '#538d21',
    950: '#000000',
  },
}
SCSS
$custom: #538d21;
$custom-light: #89af65;
$custom-dark: #000000;
JSON
{
  "hex": "#538d21",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 92.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.15009,
    "h": 134
  },
  "luminance": 0.20999
}

Semantic roles & 50–950 ramp

primary
#538D21
secondary
#8950BA
accent
#43E59A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D21

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

Preview Lab → · Contrast checker → · Palette generator →

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