#5B9D2A#5B9D2A

#5B9D2A is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.9% C 0.161 H 134.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5B9D2A
RGBrgb(91, 157, 42)
HSLhsl(94, 58%, 39%)
HSVhsv(94, 73%, 62%)
CMYKcmyk(42%, 0%, 73.2%, 38.4%)
CIE-LABlab(58.51, -40.63, 50.62)
CIE-LCHlch(58.51, 64.91, 128.75°)
OKLaboklab(62.87% -0.1135 0.1141)
OKLCHoklch(62.87% 0.161 134.9)
XYZxyz(16.7889, 26.5043, 6.4213)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9D2A #6C2A9D
analogous
#959D2A #5B9D2A #2A9D33
triadic
#5B9D2A #2A5B9D #9D2A5B
tetradic
#5B9D2A #2A959D #6C2A9D #9D332A
square
#5B9D2A #2A959D #6C2A9D #9D332A
split-complementary
#5B9D2A #332A9D #9D2A95
monochromatic
#233C10 #3F6D1D #5B9D2A #77CA3A #99D76A

Accessibility & contrast

On white

3.33
#5B9D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5B9D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9D2A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9D2A#FFFFFF#000000##000000
##5B9D2A1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#5A9787
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9d2a;
/* rgb */ color: rgb(91, 157, 42);
/* oklch */ color: oklch(62.9% 0.161 134.9);
Tailwind
colors: {
  custom: {
    50: '#8fba6b',
    500: '#5b9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5b9d2a;
$custom-light: #8fba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9d2a",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 94.435,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62874,
    "c": 0.16092,
    "h": 134.9
  },
  "luminance": 0.26505
}

Semantic roles & 50–950 ramp

primary
#5B9D2A
secondary
#9865BE
accent
#47E19F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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