#5B9B2A#5B9B2A

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

Color values

HEX#5B9B2A
RGBrgb(91, 155, 42)
HSLhsl(94, 57%, 39%)
HSVhsv(94, 73%, 61%)
CMYKcmyk(41.3%, 0%, 72.9%, 39.2%)
CIE-LABlab(57.88, -39.78, 49.98)
CIE-LCHlch(57.88, 63.88, 128.52°)
OKLaboklab(62.35% -0.1112 0.1127)
OKLCHoklch(62.35% 0.158 134.6)
XYZxyz(16.4533, 25.8331, 6.3094)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9B2A #6A2A9B
analogous
#939B2A #5B9B2A #2A9B31
triadic
#5B9B2A #2A5B9B #9B2A5B
tetradic
#5B9B2A #2A939B #6A2A9B #9B312A
square
#5B9B2A #2A939B #6A2A9B #9B312A
split-complementary
#5B9B2A #312A9B #9B2A93
monochromatic
#223B10 #3F6B1D #5B9B2A #78C939 #98D669

Accessibility & contrast

On white

3.41
#5B9B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9B2A#FFFFFF#000000##000000
##5B9B2A1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b9b2a;
/* rgb */ color: rgb(91, 155, 42);
/* oklch */ color: oklch(62.4% 0.158 134.6);
Tailwind
colors: {
  custom: {
    50: '#8fb96b',
    500: '#5b9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #5b9b2a;
$custom-light: #8fb96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9b2a",
  "rgb": {
    "r": 91,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 93.982,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.15835,
    "h": 134.6
  },
  "luminance": 0.25834
}

Semantic roles & 50–950 ramp

primary
#5B9B2A
secondary
#9664BD
accent
#47E19E
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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