#5B9C2B#5B9C2B

#5B9C2B is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 62.6% C 0.159 H 134.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5B9C2B
RGBrgb(91, 156, 43)
HSLhsl(95, 57%, 39%)
HSVhsv(95, 72%, 61%)
CMYKcmyk(41.7%, 0%, 72.4%, 38.8%)
CIE-LABlab(58.20, -40.14, 49.93)
CIE-LCHlch(58.20, 64.06, 128.79°)
OKLaboklab(62.62% -0.1121 0.1127)
OKLCHoklch(62.62% 0.159 134.8)
XYZxyz(16.6385, 26.1746, 6.4605)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9C2B #6C2B9C
analogous
#949C2B #5B9C2B #2B9C33
triadic
#5B9C2B #2B5B9C #9C2B5B
tetradic
#5B9C2B #2B949C #6C2B9C #9C332B
square
#5B9C2B #2B949C #6C2B9C #9C332B
split-complementary
#5B9C2B #332B9C #9C2B94
monochromatic
#233C11 #3F6C1E #5B9C2B #77C93B #99D66B

Accessibility & contrast

On white

3.37
#5B9C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5B9C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9C2B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9C2B#FFFFFF#000000##000000
##5B9C2B1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F18
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#5A9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b9c2b;
/* rgb */ color: rgb(91, 156, 43);
/* oklch */ color: oklch(62.6% 0.159 134.8);
Tailwind
colors: {
  custom: {
    50: '#8fba6c',
    500: '#5b9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b9c2b;
$custom-light: #8fba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9c2b",
  "rgb": {
    "r": 91,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 94.513,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62622,
    "c": 0.15899,
    "h": 134.8
  },
  "luminance": 0.26175
}

Semantic roles & 50–950 ramp

primary
#5B9C2B
secondary
#9866BD
accent
#48E09F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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