#5B9F2D#5B9F2D

#5B9F2D is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.162 H 135.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5B9F2D
RGBrgb(91, 159, 45)
HSLhsl(96, 56%, 40%)
HSVhsv(96, 72%, 62%)
CMYKcmyk(42.8%, 0%, 71.7%, 37.6%)
CIE-LABlab(59.17, -41.26, 50.14)
CIE-LCHlch(59.17, 64.93, 129.45°)
OKLaboklab(63.42% -0.115 0.1135)
OKLCHoklch(63.42% 0.162 135.4)
XYZxyz(17.1858, 27.2089, 6.8284)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F2D #712D9F
analogous
#949F2D #5B9F2D #2D9F38
triadic
#5B9F2D #2D5B9F #9F2D5B
tetradic
#5B9F2D #2D949F #712D9F #9F382D
square
#5B9F2D #2D949F #712D9F #9F382D
split-complementary
#5B9F2D #382D9F #9F2D94
monochromatic
#244012 #406F20 #5B9F2D #77C940 #99D670

Accessibility & contrast

On white

3.26
#5B9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5B9F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F2D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F2D#FFFFFF#000000##000000
##5B9F2D1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921A
Deuteranopia (green-blind)
#9C8C38
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f2d;
/* rgb */ color: rgb(91, 159, 45);
/* oklch */ color: oklch(63.4% 0.162 135.4);
Tailwind
colors: {
  custom: {
    50: '#8fbc6d',
    500: '#5b9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f2d;
$custom-light: #8fbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f2d",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 95.789,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.16156,
    "h": 135.4
  },
  "luminance": 0.2721
}

Semantic roles & 50–950 ramp

primary
#5B9F2D
secondary
#9C6ABE
accent
#49DFA2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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