#5B8A33#5B8A33

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

Color values

HEX#5B8A33
RGBrgb(91, 138, 51)
HSLhsl(92, 46%, 37%)
HSVhsv(92, 63%, 54%)
CMYKcmyk(34.1%, 0%, 63%, 45.9%)
CIE-LABlab(52.55, -31.43, 40.52)
CIE-LCHlch(52.55, 51.28, 127.79°)
OKLaboklab(58.03% -0.0877 0.094)
OKLCHoklch(58.03% 0.129 133)
XYZxyz(14.0002, 20.6396, 6.3775)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A33 #62338A
analogous
#878A33 #5B8A33 #338A37
triadic
#5B8A33 #335B8A #8A335B
tetradic
#5B8A33 #33878A #62338A #8A3733
square
#5B8A33 #33878A #62338A #8A3733
split-complementary
#5B8A33 #37338A #8A3387
monochromatic
#203112 #3E5D22 #5B8A33 #78B744 #98C96E

Accessibility & contrast

On white

4.10
#5B8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8A33#FFFFFF#000000##000000
##5B8A331.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b8a33;
/* rgb */ color: rgb(91, 138, 51);
/* oklch */ color: oklch(58.0% 0.129 133.0);
Tailwind
colors: {
  custom: {
    50: '#8dac6e',
    500: '#5b8a33',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a33;
$custom-light: #8dac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a33",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 92.414,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5803,
    "c": 0.12857,
    "h": 133
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#5B8A33
secondary
#8F67B1
accent
#52D699
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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