#5B9A2F#5B9A2F

#5B9A2F is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.1% C 0.154 H 135.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5B9A2F
RGBrgb(91, 154, 47)
HSLhsl(95, 53%, 39%)
HSVhsv(95, 69%, 60%)
CMYKcmyk(40.9%, 0%, 69.5%, 39.6%)
CIE-LABlab(57.60, -38.97, 47.72)
CIE-LCHlch(57.60, 61.61, 129.24°)
OKLaboklab(62.14% -0.1086 0.1087)
OKLCHoklch(62.14% 0.154 135)
XYZxyz(16.3827, 25.5397, 6.7552)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9A2F #6E2F9A
analogous
#919A2F #5B9A2F #2F9A39
triadic
#5B9A2F #2F5B9A #9A2F5B
tetradic
#5B9A2F #2F919A #6E2F9A #9A392F
square
#5B9A2F #2F919A #6E2F9A #9A392F
split-complementary
#5B9A2F #392F9A #9A2F91
monochromatic
#243C12 #3F6B21 #5B9A2F #77C541 #99D370

Accessibility & contrast

On white

3.44
#5B9A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5B9A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9A2F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9A2F#FFFFFF#000000##000000
##5B9A2F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1F
Deuteranopia (green-blind)
#978838
Tritanopia (blue-blind)
#5A9484
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b9a2f;
/* rgb */ color: rgb(91, 154, 47);
/* oklch */ color: oklch(62.1% 0.154 135.0);
Tailwind
colors: {
  custom: {
    50: '#8eb86e',
    500: '#5b9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #5b9a2f;
$custom-light: #8eb86e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9a2f",
  "rgb": {
    "r": 91,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 95.327,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.15366,
    "h": 135
  },
  "luminance": 0.25541
}

Semantic roles & 50–950 ramp

primary
#5B9A2F
secondary
#9A6ABB
accent
#4BDDA1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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