#5B9F1E#5B9F1E

#5B9F1E is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.170 H 134.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5B9F1E
RGBrgb(91, 159, 30)
HSLhsl(92, 68%, 37%)
HSVhsv(92, 81%, 62%)
CMYKcmyk(42.8%, 0%, 81.1%, 37.6%)
CIE-LABlab(59.08, -42.20, 55.21)
CIE-LCHlch(59.08, 69.49, 127.39°)
OKLaboklab(63.32% -0.1185 0.1218)
OKLCHoklch(63.32% 0.17 134.2)
XYZxyz(16.9465, 27.1132, 5.5685)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F1E #621E9F
analogous
#9C9F1E #5B9F1E #1E9F22
triadic
#5B9F1E #1E5B9F #9F1E5B
tetradic
#5B9F1E #1E9C9F #621E9F #9F221E
square
#5B9F1E #1E9C9F #621E9F #9F221E
split-complementary
#5B9F1E #221E9F #9F1E9C
monochromatic
#20380B #3E6C14 #5B9F1E #78D228 #98DF58

Accessibility & contrast

On white

3.27
#5B9F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5B9F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F1E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F1E#FFFFFF#000000##000000
##5B9F1E1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#5A9987
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f1e;
/* rgb */ color: rgb(91, 159, 30);
/* oklch */ color: oklch(63.3% 0.170 134.2);
Tailwind
colors: {
  custom: {
    50: '#90bc66',
    500: '#5b9f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f1e;
$custom-light: #90bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f1e",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 91.628,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.16999,
    "h": 134.2
  },
  "luminance": 0.27114
}

Semantic roles & 50–950 ramp

primary
#5B9F1E
secondary
#8F56C3
accent
#3DEB99
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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