#57792A#57792A

#57792A is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.114 H 129.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#57792A
RGBrgb(87, 121, 42)
HSLhsl(86, 48%, 32%)
HSVhsv(86, 65%, 47%)
CMYKcmyk(28.1%, 0%, 65.3%, 52.5%)
CIE-LABlab(46.80, -25.67, 38.30)
CIE-LCHlch(46.80, 46.11, 123.83°)
OKLaboklab(53.26% -0.0724 0.0882)
OKLCHoklch(53.26% 0.114 129.4)
XYZxyz(11.1857, 15.8679, 4.6635)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57792A #4C2A79
analogous
#79742A #57792A #30792A
triadic
#57792A #2A5779 #792A57
tetradic
#57792A #2A7974 #4C2A79 #792A30
square
#57792A #2A7974 #4C2A79 #792A30
split-complementary
#57792A #2A3079 #742A79
monochromatic
#161E0A #364C1A #57792A #78A63A #96C558

Accessibility & contrast

On white

5.03
#57792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#57792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57792A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57792A#FFFFFF#000000##FFFFFF
##57792A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57792a;
/* rgb */ color: rgb(87, 121, 42);
/* oklch */ color: oklch(53.3% 0.114 129.4);
Tailwind
colors: {
  custom: {
    50: '#89a067',
    500: '#57792a',
    950: '#000000',
  },
}
SCSS
$custom: #57792a;
$custom-light: #89a067;
$custom-dark: #000000;
JSON
{
  "hex": "#57792a",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 85.823,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.11416,
    "h": 129.4
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#57792A
secondary
#7954AB
accent
#50D88A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #57792A

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

Preview Lab → · Contrast checker → · Palette generator →

#57792A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva