#5B8A34#5B8A34

#5B8A34 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.128 H 133.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B8A34
RGBrgb(91, 138, 52)
HSLhsl(93, 45%, 37%)
HSVhsv(93, 62%, 54%)
CMYKcmyk(34.1%, 0%, 62.3%, 45.9%)
CIE-LABlab(52.56, -31.33, 40.07)
CIE-LCHlch(52.56, 50.86, 128.02°)
OKLaboklab(58.04% -0.0874 0.0931)
OKLCHoklch(58.04% 0.128 133.2)
XYZxyz(14.0225, 20.6485, 6.4949)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A34 #63348A
analogous
#868A34 #5B8A34 #348A38
triadic
#5B8A34 #345B8A #8A345B
tetradic
#5B8A34 #34868A #63348A #8A3834
square
#5B8A34 #34868A #63348A #8A3834
split-complementary
#5B8A34 #38348A #8A3486
monochromatic
#203113 #3E5E23 #5B8A34 #78B645 #98C96F

Accessibility & contrast

On white

4.09
#5B8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5B8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A34
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A34#FFFFFF#000000##000000
##5B8A341.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802A
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#5B8578
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a34;
/* rgb */ color: rgb(91, 138, 52);
/* oklch */ color: oklch(58.0% 0.128 133.2);
Tailwind
colors: {
  custom: {
    50: '#8dac6f',
    500: '#5b8a34',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a34;
$custom-light: #8dac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a34",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 92.791,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.1277,
    "h": 133.2
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#5B8A34
secondary
#9069B1
accent
#53D59A
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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