#538B21#538B21

#538B21 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.147 H 133.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#538B21
RGBrgb(83, 139, 33)
HSLhsl(92, 62%, 34%)
HSVhsv(92, 76%, 55%)
CMYKcmyk(40.3%, 0%, 76.3%, 45.5%)
CIE-LABlab(52.30, -36.30, 47.65)
CIE-LCHlch(52.30, 59.90, 127.30°)
OKLaboklab(57.66% -0.1019 0.1066)
OKLCHoklch(57.66% 0.148 133.7)
XYZxyz(13.0742, 20.4134, 4.6898)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B21 #59218B
analogous
#888B21 #538B21 #218B24
triadic
#538B21 #21538B #8B2153
tetradic
#538B21 #21888B #59218B #8B2421
square
#538B21 #21888B #59218B #8B2421
split-complementary
#538B21 #24218B #8B2188
monochromatic
#18280A #355A15 #538B21 #71BC2D #8FD651

Accessibility & contrast

On white

4.13
#538B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#538B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B21
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B21#FFFFFF#000000##000000
##538B211.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#538577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b21;
/* rgb */ color: rgb(83, 139, 33);
/* oklch */ color: oklch(57.7% 0.147 133.7);
Tailwind
colors: {
  custom: {
    50: '#88ad64',
    500: '#538b21',
    950: '#000000',
  },
}
SCSS
$custom: #538b21;
$custom-light: #88ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#538b21",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 91.698,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.1475,
    "h": 133.7
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#538B21
secondary
#874FB9
accent
#43E598
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538B21

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

Preview Lab → · Contrast checker → · Palette generator →

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