#5B9F2F#5B9F2F

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

Color values

HEX#5B9F2F
RGBrgb(91, 159, 47)
HSLhsl(96, 54%, 40%)
HSVhsv(96, 70%, 62%)
CMYKcmyk(42.8%, 0%, 70.4%, 37.6%)
CIE-LABlab(59.18, -41.11, 49.37)
CIE-LCHlch(59.18, 64.24, 129.78°)
OKLaboklab(63.43% -0.1144 0.1121)
OKLCHoklch(63.43% 0.16 135.6)
XYZxyz(17.2252, 27.2247, 7.0360)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F2F #732F9F
analogous
#939F2F #5B9F2F #2F9F3B
triadic
#5B9F2F #2F5B9F #9F2F5B
tetradic
#5B9F2F #2F939F #732F9F #9F3B2F
square
#5B9F2F #2F939F #732F9F #9F3B2F
split-complementary
#5B9F2F #3B2F9F #9F2F93
monochromatic
#254113 #407021 #5B9F2F #77C844 #9AD673

Accessibility & contrast

On white

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

On black

6.45
#5B9F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F2F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F2F#FFFFFF#000000##000000
##5B9F2F1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921E
Deuteranopia (green-blind)
#9C8C39
Tritanopia (blue-blind)
#599989
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f2f;
/* rgb */ color: rgb(91, 159, 47);
/* oklch */ color: oklch(63.4% 0.160 135.6);
Tailwind
colors: {
  custom: {
    50: '#8fbc6e',
    500: '#5b9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f2f;
$custom-light: #8fbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f2f",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 96.429,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63433,
    "c": 0.16022,
    "h": 135.6
  },
  "luminance": 0.27226
}

Semantic roles & 50–950 ramp

primary
#5B9F2F
secondary
#9E6DBD
accent
#4ADEA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5B9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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