#5B8E22#5B8E22

#5B8E22 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.146 H 131.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5B8E22
RGBrgb(91, 142, 34)
HSLhsl(88, 61%, 35%)
HSVhsv(88, 76%, 56%)
CMYKcmyk(35.9%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.69, -34.61, 48.79)
CIE-LCHlch(53.69, 59.82, 125.35°)
OKLaboklab(58.91% -0.0978 0.109)
OKLCHoklch(58.91% 0.146 131.9)
XYZxyz(14.2760, 21.6851, 4.9465)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8E22 #55228E
analogous
#8E8B22 #5B8E22 #258E22
triadic
#5B8E22 #225B8E #8E225B
tetradic
#5B8E22 #228E8B #55228E #8E2225
square
#5B8E22 #228E8B #55228E #8E2225
split-complementary
#5B8E22 #22258E #8B228E
monochromatic
#1C2B0A #3B5D16 #5B8E22 #7BBF2E #99D654

Accessibility & contrast

On white

3.93
#5B8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5B8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8E22
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8E22#FFFFFF#000000##000000
##5B8E221.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830B
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#5C8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8e22;
/* rgb */ color: rgb(91, 142, 34);
/* oklch */ color: oklch(58.9% 0.146 131.9);
Tailwind
colors: {
  custom: {
    50: '#8eaf65',
    500: '#5b8e22',
    950: '#000000',
  },
}
SCSS
$custom: #5b8e22;
$custom-light: #8eaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8e22",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 88.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.14646,
    "h": 131.9
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#5B8E22
secondary
#8352BA
accent
#43E48F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8E22

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

Preview Lab → · Contrast checker → · Palette generator →

#5B8E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva