#538D22#538D22

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

Color values

HEX#538D22
RGBrgb(83, 141, 34)
HSLhsl(93, 61%, 34%)
HSVhsv(93, 76%, 55%)
CMYKcmyk(41.1%, 0%, 75.9%, 44.7%)
CIE-LABlab(52.95, -37.11, 47.93)
CIE-LCHlch(52.95, 60.62, 127.75°)
OKLaboklab(58.2% -0.104 0.1074)
OKLCHoklch(58.2% 0.149 134.1)
XYZxyz(13.3806, 21.0036, 4.8621)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D22 #5C228D
analogous
#898D22 #538D22 #228D26
triadic
#538D22 #22538D #8D2253
tetradic
#538D22 #22898D #5C228D #8D2622
square
#538D22 #22898D #5C228D #8D2622
split-complementary
#538D22 #26228D #8D2289
monochromatic
#192A0A #365C16 #538D22 #70BE2E #8FD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D22#FFFFFF#000000##000000
##538D221.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)
#93810C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#528778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d22;
/* rgb */ color: rgb(83, 141, 34);
/* oklch */ color: oklch(58.2% 0.149 134.1);
Tailwind
colors: {
  custom: {
    50: '#89af65',
    500: '#538d22',
    950: '#000000',
  },
}
SCSS
$custom: #538d22;
$custom-light: #89af65;
$custom-dark: #000000;
JSON
{
  "hex": "#538d22",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 92.523,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58199,
    "c": 0.14949,
    "h": 134.1
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#538D22
secondary
#8A51B9
accent
#44E49B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D22

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

Preview Lab → · Contrast checker → · Palette generator →

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