#5B762B#5B762B

#5B762B is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.8% C 0.107 H 126.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5B762B
RGBrgb(91, 118, 43)
HSLhsl(82, 47%, 32%)
HSVhsv(82, 64%, 46%)
CMYKcmyk(22.9%, 0%, 63.6%, 53.7%)
CIE-LABlab(46.12, -22.41, 37.15)
CIE-LCHlch(46.12, 43.39, 121.09°)
OKLaboklab(52.78% -0.0636 0.0859)
OKLCHoklch(52.78% 0.107 126.5)
XYZxyz(11.2289, 15.3553, 4.6573)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B762B #462B76
analogous
#766C2B #5B762B #36762B
triadic
#5B762B #2B5B76 #762B5B
tetradic
#5B762B #2B766C #462B76 #762B36
square
#5B762B #2B766C #462B76 #762B36
split-complementary
#5B762B #2B3676 #6C2B76
monochromatic
#161C0A #38491B #5B762B #7EA33B #9CC259

Accessibility & contrast

On white

5.16
#5B762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5B762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B762B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B762B#FFFFFF#000000##FFFFFF
##5B762B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E22
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#5E7166
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b762b;
/* rgb */ color: rgb(91, 118, 43);
/* oklch */ color: oklch(52.8% 0.107 126.5);
Tailwind
colors: {
  custom: {
    50: '#8c9d68',
    500: '#5b762b',
    950: '#000000',
  },
}
SCSS
$custom: #5b762b;
$custom-light: #8c9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b762b",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 81.6,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.10685,
    "h": 126.5
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#5B762B
secondary
#7355A8
accent
#52D681
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5B762B

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

Preview Lab → · Contrast checker → · Palette generator →

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