#5B9C2E#5B9C2E

#5B9C2E is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 62.6% C 0.157 H 135.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5B9C2E
RGBrgb(91, 156, 46)
HSLhsl(95, 54%, 40%)
HSVhsv(95, 71%, 61%)
CMYKcmyk(41.7%, 0%, 70.5%, 38.8%)
CIE-LABlab(58.22, -39.91, 48.77)
CIE-LCHlch(58.22, 63.02, 129.29°)
OKLaboklab(62.65% -0.1113 0.1108)
OKLCHoklch(62.65% 0.157 135.1)
XYZxyz(16.6956, 26.1974, 6.7611)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9C2E #6F2E9C
analogous
#929C2E #5B9C2E #2E9C38
triadic
#5B9C2E #2E5B9C #9C2E5B
tetradic
#5B9C2E #2E929C #6F2E9C #9C382E
square
#5B9C2E #2E929C #6F2E9C #9C382E
split-complementary
#5B9C2E #382E9C #9C2E92
monochromatic
#243D12 #3F6D20 #5B9C2E #77C740 #99D570

Accessibility & contrast

On white

3.37
#5B9C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5B9C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9C2E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9C2E#FFFFFF#000000##000000
##5B9C2E1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1D
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#599686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b9c2e;
/* rgb */ color: rgb(91, 156, 46);
/* oklch */ color: oklch(62.6% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#8fba6d',
    500: '#5b9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #5b9c2e;
$custom-light: #8fba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9c2e",
  "rgb": {
    "r": 91,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 95.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62646,
    "c": 0.15699,
    "h": 135.1
  },
  "luminance": 0.26198
}

Semantic roles & 50–950 ramp

primary
#5B9C2E
secondary
#9A6ABC
accent
#4ADEA1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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