#5B8A1E#5B8A1E

#5B8A1E is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.144 H 130.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5B8A1E
RGBrgb(91, 138, 30)
HSLhsl(86, 64%, 33%)
HSVhsv(86, 78%, 54%)
CMYKcmyk(34.1%, 0%, 78.3%, 45.9%)
CIE-LABlab(52.39, -33.03, 48.95)
CIE-LCHlch(52.39, 59.05, 124.02°)
OKLaboklab(57.85% -0.0938 0.1087)
OKLCHoklch(57.85% 0.144 130.8)
XYZxyz(13.6371, 20.4944, 4.4653)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A1E #4D1E8A
analogous
#8A831E #5B8A1E #258A1E
triadic
#5B8A1E #1E5B8A #8A1E5B
tetradic
#5B8A1E #1E8A83 #4D1E8A #8A1E25
square
#5B8A1E #1E8A83 #4D1E8A #8A1E25
split-complementary
#5B8A1E #1E258A #831E8A
monochromatic
#192508 #3A5813 #5B8A1E #7CBC29 #9AD84B

Accessibility & contrast

On white

4.12
#5B8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5B8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A1E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A1E#FFFFFF#000000##000000
##5B8A1E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#5D8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a1e;
/* rgb */ color: rgb(91, 138, 30);
/* oklch */ color: oklch(57.8% 0.144 130.8);
Tailwind
colors: {
  custom: {
    50: '#8eac63',
    500: '#5b8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a1e;
$custom-light: #8eac63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a1e",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 86.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.14359,
    "h": 130.8
  },
  "luminance": 0.20495
}

Semantic roles & 50–950 ramp

primary
#5B8A1E
secondary
#7B4ABA
accent
#41E789
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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