#5B9F1A#5B9F1A

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

Color values

HEX#5B9F1A
RGBrgb(91, 159, 26)
HSLhsl(91, 72%, 36%)
HSVhsv(91, 84%, 62%)
CMYKcmyk(42.8%, 0%, 83.6%, 37.6%)
CIE-LABlab(59.06, -42.39, 56.32)
CIE-LCHlch(59.06, 70.49, 126.97°)
OKLaboklab(63.3% -0.1193 0.1236)
OKLCHoklch(63.3% 0.172 134)
XYZxyz(16.8987, 27.0941, 5.3163)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F1A #5E1A9F
analogous
#9E9F1A #5B9F1A #1A9F1C
triadic
#5B9F1A #1A5B9F #9F1A5B
tetradic
#5B9F1A #1A9E9F #5E1A9F #9F1C1A
square
#5B9F1A #1A9E9F #5E1A9F #9F1C1A
split-complementary
#5B9F1A #1C1A9F #9F1A9E
monochromatic
#1F3609 #3D6A11 #5B9F1A #79D423 #98E351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9F1A#FFFFFF#000000##000000
##5B9F1A1.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)
#9C8C2B
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f1a;
/* rgb */ color: rgb(91, 159, 26);
/* oklch */ color: oklch(63.3% 0.172 134.0);
Tailwind
colors: {
  custom: {
    50: '#90bc64',
    500: '#5b9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f1a;
$custom-light: #90bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f1a",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 90.677,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.17175,
    "h": 134
  },
  "luminance": 0.27095
}

Semantic roles & 50–950 ramp

primary
#5B9F1A
secondary
#8C50C5
accent
#39EF96
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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