#5B9B1E#5B9B1E

#5B9B1E is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.3% C 0.165 H 133.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5B9B1E
RGBrgb(91, 155, 30)
HSLhsl(91, 68%, 36%)
HSVhsv(91, 81%, 61%)
CMYKcmyk(41.3%, 0%, 80.6%, 39.2%)
CIE-LABlab(57.81, -40.52, 54.03)
CIE-LCHlch(57.81, 67.54, 126.86°)
OKLaboklab(62.27% -0.114 0.1194)
OKLCHoklch(62.27% 0.165 133.7)
XYZxyz(16.2698, 25.7597, 5.3429)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9B1E #5E1E9B
analogous
#9A9B1E #5B9B1E #1E9B20
triadic
#5B9B1E #1E5B9B #9B1E5B
tetradic
#5B9B1E #1E9A9B #5E1E9B #9B201E
square
#5B9B1E #1E9A9B #5E1E9B #9B201E
split-complementary
#5B9B1E #201E9B #9B1E9A
monochromatic
#1F340A #3D6814 #5B9B1E #79CE28 #98DE55

Accessibility & contrast

On white

3.41
#5B9B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5B9B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9B1E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9B1E#FFFFFF#000000##000000
##5B9B1E1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#5B9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b9b1e;
/* rgb */ color: rgb(91, 155, 30);
/* oklch */ color: oklch(62.3% 0.165 133.7);
Tailwind
colors: {
  custom: {
    50: '#8fb965',
    500: '#5b9b1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b9b1e;
$custom-light: #8fb965;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9b1e",
  "rgb": {
    "r": 91,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 90.72,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.16509,
    "h": 133.7
  },
  "luminance": 0.25761
}

Semantic roles & 50–950 ramp

primary
#5B9B1E
secondary
#8C53C2
accent
#3DEA96
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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