#5B9130#5B9130

#5B9130 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.8% C 0.141 H 133.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5B9130
RGBrgb(91, 145, 48)
HSLhsl(93, 50%, 38%)
HSVhsv(93, 67%, 57%)
CMYKcmyk(37.2%, 0%, 66.9%, 43.1%)
CIE-LABlab(54.75, -34.91, 44.28)
CIE-LCHlch(54.75, 56.39, 128.26°)
OKLaboklab(59.81% -0.0975 0.1016)
OKLCHoklch(59.81% 0.141 133.8)
XYZxyz(14.9730, 22.6877, 6.3860)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9130 #663091
analogous
#8B9130 #5B9130 #309135
triadic
#5B9130 #305B91 #91305B
tetradic
#5B9130 #308B91 #663091 #913530
square
#5B9130 #308B91 #663091 #913530
split-complementary
#5B9130 #353091 #91308B
monochromatic
#213512 #3E6321 #5B9130 #78BF3F #98CF6D

Accessibility & contrast

On white

3.79
#5B9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5B9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9130
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9130#FFFFFF#000000##000000
##5B91301.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#5B8B7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b9130;
/* rgb */ color: rgb(91, 145, 48);
/* oklch */ color: oklch(59.8% 0.141 133.8);
Tailwind
colors: {
  custom: {
    50: '#8db16d',
    500: '#5b9130',
    950: '#000000',
  },
}
SCSS
$custom: #5b9130;
$custom-light: #8db16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9130",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 93.402,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59811,
    "c": 0.1408,
    "h": 133.8
  },
  "luminance": 0.22688
}

Semantic roles & 50–950 ramp

primary
#5B9130
secondary
#9367B6
accent
#4EDA9C
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0D1107
muted
#7D807A

Preview Lab

Preview with #5B9130

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

Preview Lab → · Contrast checker → · Palette generator →

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