#538820#538820

#538820 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.144 H 133.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#538820
RGBrgb(83, 136, 32)
HSLhsl(91, 62%, 33%)
HSVhsv(91, 76%, 53%)
CMYKcmyk(39%, 0%, 76.5%, 46.7%)
CIE-LABlab(51.33, -35.04, 47.06)
CIE-LCHlch(51.33, 58.67, 126.67°)
OKLaboklab(56.86% -0.0986 0.1052)
OKLCHoklch(56.86% 0.144 133.1)
XYZxyz(12.6320, 19.5510, 4.4744)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538820 #552088
analogous
#878820 #538820 #208821
triadic
#538820 #205388 #882053
tetradic
#538820 #208788 #552088 #882120
square
#538820 #208788 #552088 #882120
split-complementary
#538820 #212088 #882087
monochromatic
#172509 #355614 #538820 #71BA2C #90D54D

Accessibility & contrast

On white

4.28
#538820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#538820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538820
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538820#FFFFFF#000000##000000
##5388201.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#538274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #538820;
/* rgb */ color: rgb(83, 136, 32);
/* oklch */ color: oklch(56.9% 0.144 133.1);
Tailwind
colors: {
  custom: {
    50: '#88ab63',
    500: '#538820',
    950: '#000000',
  },
}
SCSS
$custom: #538820;
$custom-light: #88ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#538820",
  "rgb": {
    "r": 83,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 90.577,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.14419,
    "h": 133.1
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#538820
secondary
#834CB8
accent
#43E595
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538820

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

Preview Lab → · Contrast checker → · Palette generator →

#538820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva