#5B9A1E#5B9A1E

#5B9A1E is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.0% C 0.164 H 133.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5B9A1E
RGBrgb(91, 154, 30)
HSLhsl(90, 67%, 36%)
HSVhsv(90, 81%, 60%)
CMYKcmyk(40.9%, 0%, 80.5%, 39.6%)
CIE-LABlab(57.49, -40.09, 53.74)
CIE-LCHlch(57.49, 67.05, 126.73°)
OKLaboklab(62.01% -0.1129 0.1188)
OKLCHoklch(62.01% 0.164 133.6)
XYZxyz(16.1041, 25.4283, 5.2877)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9A1E #5D1E9A
analogous
#999A1E #5B9A1E #1E9A1F
triadic
#5B9A1E #1E5B9A #9A1E5B
tetradic
#5B9A1E #1E999A #5D1E9A #9A1F1E
square
#5B9A1E #1E999A #5D1E9A #9A1F1E
split-complementary
#5B9A1E #1F1E9A #9A1E99
monochromatic
#1E340A #3D6714 #5B9A1E #79CD28 #98DE55

Accessibility & contrast

On white

3.45
#5B9A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5B9A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9A1E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9A1E#FFFFFF#000000##000000
##5B9A1E1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#5B9483
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b9a1e;
/* rgb */ color: rgb(91, 154, 30);
/* oklch */ color: oklch(62.0% 0.164 133.6);
Tailwind
colors: {
  custom: {
    50: '#8fb865',
    500: '#5b9a1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b9a1e;
$custom-light: #8fb865;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9a1e",
  "rgb": {
    "r": 91,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 90.484,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62014,
    "c": 0.16385,
    "h": 133.6
  },
  "luminance": 0.25429
}

Semantic roles & 50–950 ramp

primary
#5B9A1E
secondary
#8B53C1
accent
#3EEA95
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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