#5B8929#5B8929

#5B8929 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.135 H 131.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5B8929
RGBrgb(91, 137, 41)
HSLhsl(89, 54%, 35%)
HSVhsv(89, 70%, 54%)
CMYKcmyk(33.6%, 0%, 70.1%, 46.3%)
CIE-LABlab(52.15, -31.83, 44.51)
CIE-LCHlch(52.15, 54.72, 125.57°)
OKLaboklab(57.67% -0.0897 0.1011)
OKLCHoklch(57.67% 0.135 131.6)
XYZxyz(13.6601, 20.2751, 5.2911)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8929 #572989
analogous
#898729 #5B8929 #2B8929
triadic
#5B8929 #295B89 #89295B
tetradic
#5B8929 #298987 #572989 #89292B
square
#5B8929 #298987 #572989 #89292B
split-complementary
#5B8929 #292B89 #872989
monochromatic
#1C2B0D #3C5A1B #5B8929 #7AB837 #99CF5E

Accessibility & contrast

On white

4.15
#5B8929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5B8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8929
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8929#FFFFFF#000000##000000
##5B89291.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1B
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#5C8376
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b8929;
/* rgb */ color: rgb(91, 137, 41);
/* oklch */ color: oklch(57.7% 0.135 131.6);
Tailwind
colors: {
  custom: {
    50: '#8dab68',
    500: '#5b8929',
    950: '#000000',
  },
}
SCSS
$custom: #5b8929;
$custom-light: #8dab68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8929",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 88.75,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.13515,
    "h": 131.6
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#5B8929
secondary
#855AB4
accent
#4ADD91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #5B8929

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

Preview Lab → · Contrast checker → · Palette generator →

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