#538822#538822

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

Color values

HEX#538822
RGBrgb(83, 136, 34)
HSLhsl(91, 60%, 33%)
HSVhsv(91, 75%, 53%)
CMYKcmyk(39%, 0%, 75%, 46.7%)
CIE-LABlab(51.34, -34.90, 46.33)
CIE-LCHlch(51.34, 58.01, 126.99°)
OKLaboklab(56.88% -0.0981 0.104)
OKLCHoklch(56.88% 0.143 133.3)
XYZxyz(12.6600, 19.5622, 4.6219)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538822 #572288
analogous
#868822 #538822 #228824
triadic
#538822 #225388 #882253
tetradic
#538822 #228688 #572288 #882422
square
#538822 #228688 #572288 #882422
split-complementary
#538822 #242288 #882286
monochromatic
#17260A #355716 #538822 #71B92E #90D351

Accessibility & contrast

On white

4.27
#538822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##538822#FFFFFF#000000##000000
##5388221.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#538274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #538822;
/* rgb */ color: rgb(83, 136, 34);
/* oklch */ color: oklch(56.9% 0.143 133.3);
Tailwind
colors: {
  custom: {
    50: '#88ab64',
    500: '#538822',
    950: '#000000',
  },
}
SCSS
$custom: #538822;
$custom-light: #88ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#538822",
  "rgb": {
    "r": 83,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 91.176,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.14295,
    "h": 133.3
  },
  "luminance": 0.19563
}

Semantic roles & 50–950 ramp

primary
#538822
secondary
#854FB7
accent
#45E397
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538822

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

Preview Lab → · Contrast checker → · Palette generator →

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