#5F761E#5F761E

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

Color values

HEX#5F761E
RGBrgb(95, 118, 30)
HSLhsl(76, 59%, 29%)
HSVhsv(76, 75%, 46%)
CMYKcmyk(19.5%, 0%, 74.6%, 53.7%)
CIE-LABlab(46.29, -21.68, 43.12)
CIE-LCHlch(46.29, 48.26, 116.69°)
OKLaboklab(52.96% -0.0631 0.0964)
OKLCHoklch(52.96% 0.115 123.2)
XYZxyz(11.4322, 15.4834, 3.6144)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F761E #351E76
analogous
#76611E #5F761E #33761E
triadic
#5F761E #1E5F76 #761E5F
tetradic
#5F761E #1E7661 #351E76 #761E33
square
#5F761E #1E7661 #351E76 #761E33
split-complementary
#5F761E #1E3376 #611E76
monochromatic
#141806 #384512 #5F761E #86A72A #A9CE40

Accessibility & contrast

On white

5.13
#5F761E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F761E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F761E#FFFFFF#000000##FFFFFF
##5F761E1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f761e;
/* rgb */ color: rgb(95, 118, 30);
/* oklch */ color: oklch(53.0% 0.115 123.2);
Tailwind
colors: {
  custom: {
    50: '#8f9d60',
    500: '#5f761e',
    950: '#000000',
  },
}
SCSS
$custom: #5f761e;
$custom-light: #8f9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f761e",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 75.682,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.1152,
    "h": 123.2
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#5F761E
secondary
#6046AA
accent
#45E36E
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F761E

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

Preview Lab → · Contrast checker → · Palette generator →

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