#5B9B2B#5B9B2B

#5B9B2B is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.4% C 0.158 H 134.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B9B2B
RGBrgb(91, 155, 43)
HSLhsl(94, 57%, 39%)
HSVhsv(94, 72%, 61%)
CMYKcmyk(41.3%, 0%, 72.3%, 39.2%)
CIE-LABlab(57.89, -39.71, 49.61)
CIE-LCHlch(57.89, 63.54, 128.68°)
OKLaboklab(62.36% -0.1109 0.1121)
OKLCHoklch(62.36% 0.158 134.7)
XYZxyz(16.4714, 25.8404, 6.4048)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9B2B #6B2B9B
analogous
#939B2B #5B9B2B #2B9B33
triadic
#5B9B2B #2B5B9B #9B2B5B
tetradic
#5B9B2B #2B939B #6B2B9B #9B332B
square
#5B9B2B #2B939B #6B2B9B #9B332B
split-complementary
#5B9B2B #332B9B #9B2B93
monochromatic
#233B10 #3F6B1E #5B9B2B #77C93B #99D66B

Accessibility & contrast

On white

3.40
#5B9B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5B9B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9B2B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9B2B#FFFFFF#000000##000000
##5B9B2B1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E18
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#5A9585
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b9b2b;
/* rgb */ color: rgb(91, 155, 43);
/* oklch */ color: oklch(62.4% 0.158 134.7);
Tailwind
colors: {
  custom: {
    50: '#8fb96b',
    500: '#5b9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b9b2b;
$custom-light: #8fb96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9b2b",
  "rgb": {
    "r": 91,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 94.286,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62362,
    "c": 0.1577,
    "h": 134.7
  },
  "luminance": 0.25841
}

Semantic roles & 50–950 ramp

primary
#5B9B2B
secondary
#9765BC
accent
#48E09F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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