#5B9E1E#5B9E1E

#5B9E1E is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.169 H 134.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5B9E1E
RGBrgb(91, 158, 30)
HSLhsl(91, 68%, 37%)
HSVhsv(91, 81%, 62%)
CMYKcmyk(42.4%, 0%, 81%, 38%)
CIE-LABlab(58.76, -41.78, 54.92)
CIE-LCHlch(58.76, 69.00, 127.26°)
OKLaboklab(63.06% -0.1174 0.1212)
OKLCHoklch(63.06% 0.169 134.1)
XYZxyz(16.7753, 26.7707, 5.5114)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E1E #611E9E
analogous
#9B9E1E #5B9E1E #1E9E21
triadic
#5B9E1E #1E5B9E #9E1E5B
tetradic
#5B9E1E #1E9B9E #611E9E #9E211E
square
#5B9E1E #1E9B9E #611E9E #9E211E
split-complementary
#5B9E1E #211E9E #9E1E9B
monochromatic
#20370A #3D6B14 #5B9E1E #79D128 #98DF57

Accessibility & contrast

On white

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

On black

6.35
#5B9E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E1E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E1E#FFFFFF#000000##000000
##5B9E1E1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e1e;
/* rgb */ color: rgb(91, 158, 30);
/* oklch */ color: oklch(63.1% 0.169 134.1);
Tailwind
colors: {
  custom: {
    50: '#90bb66',
    500: '#5b9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e1e;
$custom-light: #90bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e1e",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 91.406,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.16877,
    "h": 134.1
  },
  "luminance": 0.26772
}

Semantic roles & 50–950 ramp

primary
#5B9E1E
secondary
#8E55C3
accent
#3DEB98
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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