#5A772A#5A772A

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

Color values

HEX#5A772A
RGBrgb(90, 119, 42)
HSLhsl(83, 48%, 32%)
HSVhsv(83, 65%, 47%)
CMYKcmyk(24.4%, 0%, 64.7%, 53.3%)
CIE-LABlab(46.36, -23.42, 37.87)
CIE-LCHlch(46.36, 44.53, 121.74°)
OKLaboklab(52.96% -0.0665 0.0873)
OKLCHoklch(52.96% 0.11 127.3)
XYZxyz(11.2312, 15.5343, 4.5967)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A772A #472A77
analogous
#776E2A #5A772A #34772A
triadic
#5A772A #2A5A77 #772A5A
tetradic
#5A772A #2A776E #472A77 #772A34
square
#5A772A #2A776E #472A77 #772A34
split-complementary
#5A772A #2A3477 #6E2A77
monochromatic
#161D0A #384A1A #5A772A #7CA43A #9BC458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A772A#FFFFFF#000000##FFFFFF
##5A772A1.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)
#7D6F21
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#5D7267
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a772a;
/* rgb */ color: rgb(90, 119, 42);
/* oklch */ color: oklch(53.0% 0.110 127.3);
Tailwind
colors: {
  custom: {
    50: '#8b9e67',
    500: '#5a772a',
    950: '#000000',
  },
}
SCSS
$custom: #5a772a;
$custom-light: #8b9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#5a772a",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 82.597,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.10969,
    "h": 127.3
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#5A772A
secondary
#7454A9
accent
#50D783
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5A772A

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

Preview Lab → · Contrast checker → · Palette generator →

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