#5B9D1E#5B9D1E

#5B9D1E is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.8% C 0.168 H 134.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B9D1E
RGBrgb(91, 157, 30)
HSLhsl(91, 68%, 37%)
HSVhsv(91, 81%, 62%)
CMYKcmyk(42%, 0%, 80.9%, 38.4%)
CIE-LABlab(58.44, -41.36, 54.62)
CIE-LCHlch(58.44, 68.52, 127.13°)
OKLaboklab(62.8% -0.1163 0.1206)
OKLCHoklch(62.8% 0.168 134)
XYZxyz(16.6054, 26.4309, 5.4548)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9D1E #601E9D
analogous
#9B9D1E #5B9D1E #1E9D21
triadic
#5B9D1E #1E5B9D #9D1E5B
tetradic
#5B9D1E #1E9B9D #601E9D #9D211E
square
#5B9D1E #1E9B9D #601E9D #9D211E
split-complementary
#5B9D1E #211E9D #9D1E9B
monochromatic
#1F360A #3D6A14 #5B9D1E #79D028 #98DF57

Accessibility & contrast

On white

3.34
#5B9D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5B9D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9D1E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9D1E#FFFFFF#000000##000000
##5B9D1E1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b9d1e;
/* rgb */ color: rgb(91, 157, 30);
/* oklch */ color: oklch(62.8% 0.168 134.0);
Tailwind
colors: {
  custom: {
    50: '#90ba66',
    500: '#5b9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b9d1e;
$custom-light: #90ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9d1e",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 91.181,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62795,
    "c": 0.16755,
    "h": 134
  },
  "luminance": 0.26432
}

Semantic roles & 50–950 ramp

primary
#5B9D1E
secondary
#8E54C2
accent
#3DEB97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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