#538222#538222

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

Color values

HEX#538222
RGBrgb(83, 130, 34)
HSLhsl(89, 59%, 32%)
HSVhsv(89, 74%, 51%)
CMYKcmyk(36.2%, 0%, 73.8%, 49%)
CIE-LABlab(49.40, -32.19, 44.39)
CIE-LCHlch(49.40, 54.83, 125.94°)
OKLaboklab(55.29% -0.0907 0.1)
OKLCHoklch(55.29% 0.135 132.2)
XYZxyz(11.8385, 17.9193, 4.3481)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538222 #512282
analogous
#828122 #538222 #238222
triadic
#538222 #225382 #822253
tetradic
#538222 #228281 #512282 #822223
square
#538222 #228281 #512282 #822223
split-complementary
#538222 #222382 #812282
monochromatic
#152109 #345115 #538222 #72B32F #91D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538222#FFFFFF#000000##000000
##5382221.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)
#887811
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#547D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538222;
/* rgb */ color: rgb(83, 130, 34);
/* oklch */ color: oklch(55.3% 0.135 132.2);
Tailwind
colors: {
  custom: {
    50: '#87a664',
    500: '#538222',
    950: '#000000',
  },
}
SCSS
$custom: #538222;
$custom-light: #87a664;
$custom-dark: #000000;
JSON
{
  "hex": "#538222",
  "rgb": {
    "r": 83,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 89.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.13497,
    "h": 132.2
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#538222
secondary
#7F4CB4
accent
#46E292
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538222

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

Preview Lab → · Contrast checker → · Palette generator →

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