#5F772A#5F772A

#5F772A is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.3% C 0.107 H 124.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5F772A
RGBrgb(95, 119, 42)
HSLhsl(79, 48%, 32%)
HSVhsv(79, 65%, 47%)
CMYKcmyk(20.2%, 0%, 64.7%, 53.3%)
CIE-LABlab(46.70, -21.30, 38.35)
CIE-LCHlch(46.70, 43.87, 119.05°)
OKLaboklab(53.32% -0.0609 0.0882)
OKLCHoklch(53.32% 0.107 124.6)
XYZxyz(11.7341, 15.7936, 4.6203)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F772A #422A77
analogous
#77692A #5F772A #39772A
triadic
#5F772A #2A5F77 #772A5F
tetradic
#5F772A #2A7769 #422A77 #772A39
square
#5F772A #2A7769 #422A77 #772A39
split-complementary
#5F772A #2A3977 #692A77
monochromatic
#171D0A #3B4A1A #5F772A #83A43A #A2C458

Accessibility & contrast

On white

5.05
#5F772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5F772A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F772A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F772A#FFFFFF#000000##FFFFFF
##5F772A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F21
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#637167
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f772a;
/* rgb */ color: rgb(95, 119, 42);
/* oklch */ color: oklch(53.3% 0.107 124.6);
Tailwind
colors: {
  custom: {
    50: '#8f9e67',
    500: '#5f772a',
    950: '#000000',
  },
}
SCSS
$custom: #5f772a;
$custom-light: #8f9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f772a",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 78.701,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53324,
    "c": 0.10718,
    "h": 124.6
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#5F772A
secondary
#6E54A9
accent
#50D77A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5F772A

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

Preview Lab → · Contrast checker → · Palette generator →

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