#5B7329#5B7329

#5B7329 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 52.0% C 0.104 H 125.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5B7329
RGBrgb(91, 115, 41)
HSLhsl(79, 47%, 31%)
HSVhsv(79, 64%, 45%)
CMYKcmyk(20.9%, 0%, 64.3%, 54.9%)
CIE-LABlab(45.14, -21.04, 37.04)
CIE-LCHlch(45.14, 42.60, 119.60°)
OKLaboklab(51.99% -0.06 0.0853)
OKLCHoklch(51.99% 0.104 125.1)
XYZxyz(10.8454, 14.6456, 4.3529)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7329 #412973
analogous
#736629 #5B7329 #367329
triadic
#5B7329 #295B73 #73295B
tetradic
#5B7329 #297366 #412973 #732936
square
#5B7329 #297366 #412973 #732936
split-complementary
#5B7329 #293673 #662973
monochromatic
#141909 #374619 #5B7329 #7FA039 #9FC254

Accessibility & contrast

On white

5.34
#5B7329 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5B7329 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7329
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7329#FFFFFF#000000##FFFFFF
##5B73291.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C20
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#5F6E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b7329;
/* rgb */ color: rgb(91, 115, 41);
/* oklch */ color: oklch(52.0% 0.104 125.1);
Tailwind
colors: {
  custom: {
    50: '#8b9b66',
    500: '#5b7329',
    950: '#000000',
  },
}
SCSS
$custom: #5b7329;
$custom-light: #8b9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7329",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 41
  },
  "hsl": {
    "h": 79.459,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.10434,
    "h": 125.1
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#5B7329
secondary
#6D53A5
accent
#51D77C
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5B7329

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

Preview Lab → · Contrast checker → · Palette generator →

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