#538E21#538E21

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

Color values

HEX#538E21
RGBrgb(83, 142, 33)
HSLhsl(92, 62%, 34%)
HSVhsv(92, 77%, 56%)
CMYKcmyk(41.5%, 0%, 76.8%, 44.3%)
CIE-LABlab(53.27, -37.61, 48.60)
CIE-LCHlch(53.27, 61.45, 127.73°)
OKLaboklab(58.46% -0.1055 0.1086)
OKLCHoklch(58.46% 0.151 134.2)
XYZxyz(13.5145, 21.2941, 4.8366)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E21 #5C218E
analogous
#8A8E21 #538E21 #218E25
triadic
#538E21 #21538E #8E2153
tetradic
#538E21 #218A8E #5C218E #8E2521
square
#538E21 #218A8E #5C218E #8E2521
split-complementary
#538E21 #25218E #8E218A
monochromatic
#192B0A #365C15 #538E21 #70C02D #8FD752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538E21#FFFFFF#000000##000000
##538E211.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)
#948209
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e21;
/* rgb */ color: rgb(83, 142, 33);
/* oklch */ color: oklch(58.5% 0.151 134.2);
Tailwind
colors: {
  custom: {
    50: '#89af65',
    500: '#538e21',
    950: '#000000',
  },
}
SCSS
$custom: #538e21;
$custom-light: #89af65;
$custom-dark: #000000;
JSON
{
  "hex": "#538e21",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 92.477,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.15138,
    "h": 134.2
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#538E21
secondary
#8A50BA
accent
#42E59B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538E21

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

Preview Lab → · Contrast checker → · Palette generator →

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