#5B9E2C#5B9E2C

#5B9E2C is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.1% C 0.161 H 135.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5B9E2C
RGBrgb(91, 158, 44)
HSLhsl(95, 56%, 40%)
HSVhsv(95, 72%, 62%)
CMYKcmyk(42.4%, 0%, 72.2%, 38%)
CIE-LABlab(58.84, -40.91, 50.20)
CIE-LCHlch(58.84, 64.76, 129.18°)
OKLaboklab(63.15% -0.1141 0.1134)
OKLCHoklch(63.15% 0.161 135.2)
XYZxyz(16.9955, 26.8588, 6.6711)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E2C #6F2C9E
analogous
#949E2C #5B9E2C #2C9E36
triadic
#5B9E2C #2C5B9E #9E2C5B
tetradic
#5B9E2C #2C949E #6F2C9E #9E362C
square
#5B9E2C #2C949E #6F2C9E #9E362C
split-complementary
#5B9E2C #362C9E #9E2C94
monochromatic
#243E11 #3F6E1F #5B9E2C #77C93E #99D76E

Accessibility & contrast

On white

3.30
#5B9E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5B9E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E2C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E2C#FFFFFF#000000##000000
##5B9E2C1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b9e2c;
/* rgb */ color: rgb(91, 158, 44);
/* oklch */ color: oklch(63.1% 0.161 135.2);
Tailwind
colors: {
  custom: {
    50: '#8fbb6c',
    500: '#5b9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e2c;
$custom-light: #8fbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e2c",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 95.263,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63149,
    "c": 0.16092,
    "h": 135.2
  },
  "luminance": 0.2686
}

Semantic roles & 50–950 ramp

primary
#5B9E2C
secondary
#9A68BE
accent
#48E0A1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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