#5B9124#5B9124

#5B9124 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.7% C 0.149 H 132.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5B9124
RGBrgb(91, 145, 36)
HSLhsl(90, 60%, 35%)
HSVhsv(90, 75%, 57%)
CMYKcmyk(37.2%, 0%, 75.2%, 43.1%)
CIE-LABlab(54.66, -35.83, 49.02)
CIE-LCHlch(54.66, 60.71, 126.16°)
OKLaboklab(59.71% -0.101 0.1098)
OKLCHoklch(59.71% 0.149 132.6)
XYZxyz(14.7580, 22.6017, 5.2537)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9124 #5A2491
analogous
#919024 #5B9124 #249124
triadic
#5B9124 #245B91 #91245B
tetradic
#5B9124 #249190 #5A2491 #912424
square
#5B9124 #249190 #5A2491 #912424
split-complementary
#5B9124 #242491 #902491
monochromatic
#1D2F0C #3C6018 #5B9124 #7AC230 #98D659

Accessibility & contrast

On white

3.80
#5B9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5B9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9124
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9124#FFFFFF#000000##000000
##5B91241.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850E
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#5C8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b9124;
/* rgb */ color: rgb(91, 145, 36);
/* oklch */ color: oklch(59.7% 0.149 132.6);
Tailwind
colors: {
  custom: {
    50: '#8eb167',
    500: '#5b9124',
    950: '#000000',
  },
}
SCSS
$custom: #5b9124;
$custom-light: #8eb167;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9124",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 89.725,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.14915,
    "h": 132.6
  },
  "luminance": 0.22602
}

Semantic roles & 50–950 ramp

primary
#5B9124
secondary
#8856BA
accent
#44E393
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9124

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

Preview Lab → · Contrast checker → · Palette generator →

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