#5B8F22#5B8F22

#5B8F22 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.148 H 132.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5B8F22
RGBrgb(91, 143, 34)
HSLhsl(89, 62%, 35%)
HSVhsv(89, 76%, 56%)
CMYKcmyk(36.4%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.01, -35.06, 49.10)
CIE-LCHlch(54.01, 60.34, 125.53°)
OKLaboklab(59.18% -0.099 0.1097)
OKLCHoklch(59.18% 0.148 132.1)
XYZxyz(14.4254, 21.9840, 4.9963)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8F22 #56228F
analogous
#8F8D22 #5B8F22 #248F22
triadic
#5B8F22 #225B8F #8F225B
tetradic
#5B8F22 #228F8D #56228F #8F2224
square
#5B8F22 #228F8D #56228F #8F2224
split-complementary
#5B8F22 #22248F #8D228F
monochromatic
#1C2C0A #3C5E16 #5B8F22 #7AC02E #99D755

Accessibility & contrast

On white

3.89
#5B8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5B8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8F22
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8F22#FFFFFF#000000##000000
##5B8F221.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840B
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#5C897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b8f22;
/* rgb */ color: rgb(91, 143, 34);
/* oklch */ color: oklch(59.2% 0.148 132.1);
Tailwind
colors: {
  custom: {
    50: '#8eb065',
    500: '#5b8f22',
    950: '#000000',
  },
}
SCSS
$custom: #5b8f22;
$custom-light: #8eb065;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8f22",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 88.624,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.14776,
    "h": 132.1
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#5B8F22
secondary
#8452BA
accent
#43E590
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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