#5B9E2F#5B9E2F

#5B9E2F is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.2% C 0.159 H 135.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5B9E2F
RGBrgb(91, 158, 47)
HSLhsl(96, 54%, 40%)
HSVhsv(96, 70%, 62%)
CMYKcmyk(42.4%, 0%, 70.3%, 38%)
CIE-LABlab(58.87, -40.68, 49.04)
CIE-LCHlch(58.87, 63.72, 129.68°)
OKLaboklab(63.17% -0.1133 0.1114)
OKLCHoklch(63.17% 0.159 135.5)
XYZxyz(17.0539, 26.8822, 6.9789)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E2F #722F9E
analogous
#929E2F #5B9E2F #2F9E3A
triadic
#5B9E2F #2F5B9E #9E2F5B
tetradic
#5B9E2F #2F929E #722F9E #9E3A2F
square
#5B9E2F #2F929E #722F9E #9E3A2F
split-complementary
#5B9E2F #3A2F9E #9E2F92
monochromatic
#254013 #406F21 #5B9E2F #77C743 #99D572

Accessibility & contrast

On white

3.29
#5B9E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#5B9E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E2F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E2F#FFFFFF#000000##000000
##5B9E2F1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#599888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9e2f;
/* rgb */ color: rgb(91, 158, 47);
/* oklch */ color: oklch(63.2% 0.159 135.5);
Tailwind
colors: {
  custom: {
    50: '#8fbb6e',
    500: '#5b9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e2f;
$custom-light: #8fbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e2f",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 96.216,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63174,
    "c": 0.15891,
    "h": 135.5
  },
  "luminance": 0.26883
}

Semantic roles & 50–950 ramp

primary
#5B9E2F
secondary
#9D6CBD
accent
#4ADEA3
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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