#5B9F2C#5B9F2C

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

Color values

HEX#5B9F2C
RGBrgb(91, 159, 44)
HSLhsl(95, 57%, 40%)
HSVhsv(95, 72%, 62%)
CMYKcmyk(42.8%, 0%, 72.3%, 37.6%)
CIE-LABlab(59.16, -41.34, 50.52)
CIE-LCHlch(59.16, 65.27, 129.29°)
OKLaboklab(63.41% -0.1153 0.1141)
OKLCHoklch(63.41% 0.162 135.3)
XYZxyz(17.1667, 27.2013, 6.7282)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F2C #702C9F
analogous
#959F2C #5B9F2C #2C9F36
triadic
#5B9F2C #2C5B9F #9F2C5B
tetradic
#5B9F2C #2C959F #702C9F #9F362C
square
#5B9F2C #2C959F #702C9F #9F362C
split-complementary
#5B9F2C #362C9F #9F2C95
monochromatic
#243F11 #406F1F #5B9F2C #77CA3E #99D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9F2C#FFFFFF#000000##000000
##5B9F2C1.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)
#A59218
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f2c;
/* rgb */ color: rgb(91, 159, 44);
/* oklch */ color: oklch(63.4% 0.162 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fbc6c',
    500: '#5b9f2c',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f2c;
$custom-light: #8fbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f2c",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 95.478,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.16221,
    "h": 135.3
  },
  "luminance": 0.27202
}

Semantic roles & 50–950 ramp

primary
#5B9F2C
secondary
#9B69BE
accent
#48E0A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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