#538E22#538E22

#538E22 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#538E22
RGBrgb(83, 142, 34)
HSLhsl(93, 61%, 35%)
HSVhsv(93, 76%, 56%)
CMYKcmyk(41.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.28, -37.54, 48.25)
CIE-LCHlch(53.28, 61.13, 127.89°)
OKLaboklab(58.46% -0.1052 0.108)
OKLCHoklch(58.46% 0.151 134.2)
XYZxyz(13.5288, 21.2998, 4.9115)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E22 #5D228E
analogous
#898E22 #538E22 #228E27
triadic
#538E22 #22538E #8E2253
tetradic
#538E22 #22898E #5D228E #8E2722
square
#538E22 #22898E #5D228E #8E2722
split-complementary
#538E22 #27228E #8E2289
monochromatic
#192B0A #365D16 #538E22 #70BF2E #8FD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538E22#FFFFFF#000000##000000
##538E221.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)
#94820B
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e22;
/* rgb */ color: rgb(83, 142, 34);
/* oklch */ color: oklch(58.5% 0.151 134.2);
Tailwind
colors: {
  custom: {
    50: '#89af65',
    500: '#538e22',
    950: '#000000',
  },
}
SCSS
$custom: #538e22;
$custom-light: #89af65;
$custom-dark: #000000;
JSON
{
  "hex": "#538e22",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 92.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.15078,
    "h": 134.2
  },
  "luminance": 0.213
}

Semantic roles & 50–950 ramp

primary
#538E22
secondary
#8B52BA
accent
#43E49B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538E22

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

Preview Lab → · Contrast checker → · Palette generator →

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