#5B7929#5B7929

#5B7929 is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.5% C 0.113 H 127.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5B7929
RGBrgb(91, 121, 41)
HSLhsl(83, 49%, 32%)
HSVhsv(83, 66%, 47%)
CMYKcmyk(24.8%, 0%, 66.1%, 52.5%)
CIE-LABlab(47.05, -24.10, 39.11)
CIE-LCHlch(47.05, 45.94, 121.64°)
OKLaboklab(53.53% -0.0685 0.0897)
OKLCHoklch(53.53% 0.113 127.4)
XYZxyz(11.5520, 16.0588, 4.5884)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7929 #472979
analogous
#796F29 #5B7929 #337929
triadic
#5B7929 #295B79 #79295B
tetradic
#5B7929 #29796F #472979 #792933
square
#5B7929 #29796F #472979 #792933
split-complementary
#5B7929 #293379 #6F2979
monochromatic
#161E0A #394B1A #5B7929 #7DA738 #9CC656

Accessibility & contrast

On white

4.99
#5B7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5B7929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7929
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7929#FFFFFF#000000##FFFFFF
##5B79291.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#5E7468
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b7929;
/* rgb */ color: rgb(91, 121, 41);
/* oklch */ color: oklch(53.5% 0.113 127.4);
Tailwind
colors: {
  custom: {
    50: '#8ca067',
    500: '#5b7929',
    950: '#000000',
  },
}
SCSS
$custom: #5b7929;
$custom-light: #8ca067;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7929",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 82.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53532,
    "c": 0.11288,
    "h": 127.4
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#5B7929
secondary
#7453AB
accent
#4FD983
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5B7929

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

Preview Lab → · Contrast checker → · Palette generator →

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