#5F762B#5F762B

#5F762B is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 53.1% C 0.105 H 124.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F762B
RGBrgb(95, 118, 43)
HSLhsl(78, 47%, 32%)
HSVhsv(78, 64%, 46%)
CMYKcmyk(19.5%, 0%, 63.6%, 53.7%)
CIE-LABlab(46.40, -20.70, 37.54)
CIE-LCHlch(46.40, 42.87, 118.87°)
OKLaboklab(53.08% -0.0591 0.0866)
OKLCHoklch(53.08% 0.105 124.3)
XYZxyz(11.6339, 15.5641, 4.6763)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F762B #422B76
analogous
#76682B #5F762B #3A762B
triadic
#5F762B #2B5F76 #762B5F
tetradic
#5F762B #2B7668 #422B76 #762B3A
square
#5F762B #2B7668 #422B76 #762B3A
split-complementary
#5F762B #2B3A76 #682B76
monochromatic
#171C0A #3B491B #5F762B #83A33B #A2C259

Accessibility & contrast

On white

5.11
#5F762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5F762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F762B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F762B#FFFFFF#000000##FFFFFF
##5F762B1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F22
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#637066
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f762b;
/* rgb */ color: rgb(95, 118, 43);
/* oklch */ color: oklch(53.1% 0.105 124.3);
Tailwind
colors: {
  custom: {
    50: '#8e9d68',
    500: '#5f762b',
    950: '#000000',
  },
}
SCSS
$custom: #5f762b;
$custom-light: #8e9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f762b",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 78.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.10487,
    "h": 124.3
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#5F762B
secondary
#6E55A8
accent
#52D67A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F762B

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

Preview Lab → · Contrast checker → · Palette generator →

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