#5B752F#5B752F

#5B752F is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.102 H 126.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5B752F
RGBrgb(91, 117, 47)
HSLhsl(82, 43%, 32%)
HSVhsv(82, 60%, 46%)
CMYKcmyk(22.2%, 0%, 59.8%, 54.1%)
CIE-LABlab(45.84, -21.51, 34.89)
CIE-LCHlch(45.84, 40.99, 121.65°)
OKLaboklab(52.57% -0.0607 0.0815)
OKLCHoklch(52.57% 0.102 126.7)
XYZxyz(11.1888, 15.1518, 5.0239)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B752F #492F75
analogous
#756C2F #5B752F #38752F
triadic
#5B752F #2F5B75 #752F5B
tetradic
#5B752F #2F756C #492F75 #752F38
square
#5B752F #2F756C #492F75 #752F38
split-complementary
#5B752F #2F3875 #6C2F75
monochromatic
#171E0C #39491D #5B752F #7DA141 #9BBF5F

Accessibility & contrast

On white

5.21
#5B752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B752F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B752F#FFFFFF#000000##FFFFFF
##5B752F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E28
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#5E7066
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b752f;
/* rgb */ color: rgb(91, 117, 47);
/* oklch */ color: oklch(52.6% 0.102 126.7);
Tailwind
colors: {
  custom: {
    50: '#8b9d6a',
    500: '#5b752f',
    950: '#000000',
  },
}
SCSS
$custom: #5b752f;
$custom-light: #8b9d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b752f",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 82.286,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.10164,
    "h": 126.7
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#5B752F
secondary
#765AA6
accent
#55D284
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5B752F

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

Preview Lab → · Contrast checker → · Palette generator →

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