#538221#538221

#538221 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.136 H 132.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#538221
RGBrgb(83, 130, 33)
HSLhsl(89, 60%, 32%)
HSVhsv(89, 75%, 51%)
CMYKcmyk(36.2%, 0%, 74.6%, 49%)
CIE-LABlab(49.39, -32.26, 44.78)
CIE-LCHlch(49.39, 55.19, 125.77°)
OKLaboklab(55.29% -0.091 0.1006)
OKLCHoklch(55.29% 0.136 132.1)
XYZxyz(11.8243, 17.9136, 4.2732)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538221 #502182
analogous
#828121 #538221 #238221
triadic
#538221 #215382 #822153
tetradic
#538221 #218281 #502182 #822123
square
#538221 #218281 #502182 #822123
split-complementary
#538221 #212382 #812182
monochromatic
#152008 #345115 #538221 #72B32D #91D24C

Accessibility & contrast

On white

4.58
#538221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#538221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538221
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538221#FFFFFF#000000##000000
##5382211.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#547C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538221;
/* rgb */ color: rgb(83, 130, 33);
/* oklch */ color: oklch(55.3% 0.136 132.1);
Tailwind
colors: {
  custom: {
    50: '#87a663',
    500: '#538221',
    950: '#000000',
  },
}
SCSS
$custom: #538221;
$custom-light: #87a663;
$custom-dark: #000000;
JSON
{
  "hex": "#538221",
  "rgb": {
    "r": 83,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 89.072,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.13563,
    "h": 132.1
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#538221
secondary
#7E4AB4
accent
#45E391
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538221

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

Preview Lab → · Contrast checker → · Palette generator →

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