#5E772B#5E772B

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

Color values

HEX#5E772B
RGBrgb(94, 119, 43)
HSLhsl(80, 47%, 32%)
HSVhsv(80, 64%, 47%)
CMYKcmyk(21%, 0%, 63.9%, 53.3%)
CIE-LABlab(46.64, -21.64, 37.79)
CIE-LCHlch(46.64, 43.55, 119.80°)
OKLaboklab(53.26% -0.0617 0.0872)
OKLCHoklch(53.26% 0.107 125.3)
XYZxyz(11.6490, 15.7476, 4.7109)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E772B #442B77
analogous
#776A2B #5E772B #38772B
triadic
#5E772B #2B5E77 #772B5E
tetradic
#5E772B #2B776A #442B77 #772B38
square
#5E772B #2B776A #442B77 #772B38
split-complementary
#5E772B #2B3877 #6A2B77
monochromatic
#171D0B #3A4A1B #5E772B #82A43B #A0C359

Accessibility & contrast

On white

5.06
#5E772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5E772B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E772B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E772B#FFFFFF#000000##FFFFFF
##5E772B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e772b;
/* rgb */ color: rgb(94, 119, 43);
/* oklch */ color: oklch(53.3% 0.107 125.3);
Tailwind
colors: {
  custom: {
    50: '#8e9e68',
    500: '#5e772b',
    950: '#000000',
  },
}
SCSS
$custom: #5e772b;
$custom-light: #8e9e68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e772b",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 79.737,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.10678,
    "h": 125.3
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#5E772B
secondary
#7155A9
accent
#51D77D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E772B

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

Preview Lab → · Contrast checker → · Palette generator →

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