#5B8124#5B8124

#5B8124 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.128 H 129.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B8124
RGBrgb(91, 129, 36)
HSLhsl(85, 56%, 32%)
HSVhsv(85, 72%, 51%)
CMYKcmyk(29.5%, 0%, 72.1%, 49.4%)
CIE-LABlab(49.56, -28.43, 43.91)
CIE-LCHlch(49.56, 52.31, 122.92°)
OKLaboklab(55.55% -0.0808 0.0991)
OKLCHoklch(55.55% 0.128 129.2)
XYZxyz(12.4830, 18.0517, 4.4954)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8124 #4A2481
analogous
#817924 #5B8124 #2D8124
triadic
#5B8124 #245B81 #81245B
tetradic
#5B8124 #248179 #4A2481 #81242D
square
#5B8124 #248179 #4A2481 #81242D
split-complementary
#5B8124 #242D81 #792481
monochromatic
#172109 #395117 #5B8124 #7DB131 #9BCE51

Accessibility & contrast

On white

4.55
#5B8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5B8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8124
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8124#FFFFFF#000000##000000
##5B81241.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877815
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#5E7B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b8124;
/* rgb */ color: rgb(91, 129, 36);
/* oklch */ color: oklch(55.6% 0.128 129.2);
Tailwind
colors: {
  custom: {
    50: '#8da665',
    500: '#5b8124',
    950: '#000000',
  },
}
SCSS
$custom: #5b8124;
$custom-light: #8da665;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8124",
  "rgb": {
    "r": 91,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 84.516,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.12788,
    "h": 129.2
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#5B8124
secondary
#774EB2
accent
#48E086
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5B8124

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

Preview Lab → · Contrast checker → · Palette generator →

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