#5F761F#5F761F

#5F761F is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 53.0% C 0.115 H 123.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5F761F
RGBrgb(95, 118, 31)
HSLhsl(76, 58%, 29%)
HSVhsv(76, 74%, 46%)
CMYKcmyk(19.5%, 0%, 73.7%, 53.7%)
CIE-LABlab(46.30, -21.61, 42.73)
CIE-LCHlch(46.30, 47.88, 116.83°)
OKLaboklab(52.97% -0.0629 0.0957)
OKLCHoklch(52.97% 0.115 123.3)
XYZxyz(11.4452, 15.4886, 3.6827)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F761F #361F76
analogous
#76621F #5F761F #34761F
triadic
#5F761F #1F5F76 #761F5F
tetradic
#5F761F #1F7662 #361F76 #761F34
square
#5F761F #1F7662 #361F76 #761F34
split-complementary
#5F761F #1F3476 #621F76
monochromatic
#141806 #384612 #5F761F #86A62C #A9CD42

Accessibility & contrast

On white

5.12
#5F761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5F761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F761F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F761F#FFFFFF#000000##FFFFFF
##5F761F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#647065
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f761f;
/* rgb */ color: rgb(95, 118, 31);
/* oklch */ color: oklch(53.0% 0.115 123.3);
Tailwind
colors: {
  custom: {
    50: '#8f9d61',
    500: '#5f761f',
    950: '#000000',
  },
}
SCSS
$custom: #5f761f;
$custom-light: #8f9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f761f",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 75.862,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.11451,
    "h": 123.3
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#5F761F
secondary
#6147AA
accent
#46E26F
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F761F

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

Preview Lab → · Contrast checker → · Palette generator →

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