#5B9F19#5B9F19

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

Color values

HEX#5B9F19
RGBrgb(91, 159, 25)
HSLhsl(90, 73%, 36%)
HSVhsv(90, 84%, 62%)
CMYKcmyk(42.8%, 0%, 84.3%, 37.6%)
CIE-LABlab(59.06, -42.43, 56.58)
CIE-LCHlch(59.06, 70.72, 126.87°)
OKLaboklab(63.29% -0.1195 0.124)
OKLCHoklch(63.29% 0.172 133.9)
XYZxyz(16.8877, 27.0897, 5.2585)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F19 #5D199F
analogous
#9E9F19 #5B9F19 #199F1A
triadic
#5B9F19 #195B9F #9F195B
tetradic
#5B9F19 #199E9F #5D199F #9F1A19
square
#5B9F19 #199E9F #5D199F #9F1A19
split-complementary
#5B9F19 #1A199F #9F199E
monochromatic
#1E3508 #3D6A11 #5B9F19 #79D421 #98E34F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9F19#FFFFFF#000000##000000
##5B9F191.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)
#A69200
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f19;
/* rgb */ color: rgb(91, 159, 25);
/* oklch */ color: oklch(63.3% 0.172 133.9);
Tailwind
colors: {
  custom: {
    50: '#90bc64',
    500: '#5b9f19',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f19;
$custom-light: #90bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f19",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 25
  },
  "hsl": {
    "h": 90.448,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63291,
    "c": 0.17215,
    "h": 133.9
  },
  "luminance": 0.27091
}

Semantic roles & 50–950 ramp

primary
#5B9F19
secondary
#8B4EC6
accent
#38F095
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F19

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

Preview Lab → · Contrast checker → · Palette generator →

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