#5B752B#5B752B

#5B752B is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.105 H 126.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5B752B
RGBrgb(91, 117, 43)
HSLhsl(81, 46%, 31%)
HSVhsv(81, 63%, 46%)
CMYKcmyk(22.2%, 0%, 63.2%, 54.1%)
CIE-LABlab(45.80, -21.89, 36.80)
CIE-LCHlch(45.80, 42.82, 120.75°)
OKLaboklab(52.53% -0.0622 0.0851)
OKLCHoklch(52.53% 0.105 126.2)
XYZxyz(11.1117, 15.1210, 4.6183)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B752B #452B75
analogous
#756A2B #5B752B #36752B
triadic
#5B752B #2B5B75 #752B5B
tetradic
#5B752B #2B756A #452B75 #752B36
square
#5B752B #2B756A #452B75 #752B36
split-complementary
#5B752B #2B3675 #6A2B75
monochromatic
#151B0A #38481B #5B752B #7EA23B #9DC259

Accessibility & contrast

On white

5.22
#5B752B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5B752B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B752B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B752B#FFFFFF#000000##FFFFFF
##5B752B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D23
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#5F7065
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b752b;
/* rgb */ color: rgb(91, 117, 43);
/* oklch */ color: oklch(52.5% 0.105 126.2);
Tailwind
colors: {
  custom: {
    50: '#8b9d68',
    500: '#5b752b',
    950: '#000000',
  },
}
SCSS
$custom: #5b752b;
$custom-light: #8b9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b752b",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 81.081,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.1054,
    "h": 126.2
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#5B752B
secondary
#7255A7
accent
#52D680
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5B752B

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

Preview Lab → · Contrast checker → · Palette generator →

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