#5B752C#5B752C

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

Color values

HEX#5B752C
RGBrgb(91, 117, 44)
HSLhsl(81, 45%, 32%)
HSVhsv(81, 62%, 46%)
CMYKcmyk(22.2%, 0%, 62.4%, 54.1%)
CIE-LABlab(45.81, -21.80, 36.33)
CIE-LCHlch(45.81, 42.37, 120.97°)
OKLaboklab(52.54% -0.0618 0.0842)
OKLCHoklch(52.54% 0.104 126.3)
XYZxyz(11.1303, 15.1284, 4.7161)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B752C #462C75
analogous
#756B2C #5B752C #37752C
triadic
#5B752C #2C5B75 #752C5B
tetradic
#5B752C #2C756B #462C75 #752C37
square
#5B752C #2C756B #462C75 #752C37
split-complementary
#5B752C #2C3775 #6B2C75
monochromatic
#161C0B #38491B #5B752C #7EA13D #9CC15A

Accessibility & contrast

On white

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

On black

4.03
#5B752C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B752C#FFFFFF#000000##FFFFFF
##5B752C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b752c;
/* rgb */ color: rgb(91, 117, 44);
/* oklch */ color: oklch(52.5% 0.104 126.3);
Tailwind
colors: {
  custom: {
    50: '#8b9d68',
    500: '#5b752c',
    950: '#000000',
  },
}
SCSS
$custom: #5b752c;
$custom-light: #8b9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b752c",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 44
  },
  "hsl": {
    "h": 81.37,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.10449,
    "h": 126.3
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#5B752C
secondary
#7356A7
accent
#53D581
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5B752C

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

Preview Lab → · Contrast checker → · Palette generator →

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