#57792B#57792B

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

Color values

HEX#57792B
RGBrgb(87, 121, 43)
HSLhsl(86, 48%, 32%)
HSVhsv(86, 64%, 47%)
CMYKcmyk(28.1%, 0%, 64.5%, 52.5%)
CIE-LABlab(46.81, -25.58, 37.84)
CIE-LCHlch(46.81, 45.68, 124.05°)
OKLaboklab(53.27% -0.0721 0.0874)
OKLCHoklch(53.27% 0.113 129.5)
XYZxyz(11.2038, 15.8751, 4.7589)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57792B #4D2B79
analogous
#79742B #57792B #30792B
triadic
#57792B #2B5779 #792B57
tetradic
#57792B #2B7974 #4D2B79 #792B30
square
#57792B #2B7974 #4D2B79 #792B30
split-complementary
#57792B #2B3079 #742B79
monochromatic
#161F0B #374C1B #57792B #77A63B #96C45A

Accessibility & contrast

On white

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

On black

4.18
#57792B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##57792B#FFFFFF#000000##FFFFFF
##57792B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#597469
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #57792b;
/* rgb */ color: rgb(87, 121, 43);
/* oklch */ color: oklch(53.3% 0.113 129.5);
Tailwind
colors: {
  custom: {
    50: '#89a068',
    500: '#57792b',
    950: '#000000',
  },
}
SCSS
$custom: #57792b;
$custom-light: #89a068;
$custom-dark: #000000;
JSON
{
  "hex": "#57792b",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 86.154,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.11329,
    "h": 129.5
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#57792B
secondary
#7A56AA
accent
#51D78B
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #57792B

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

Preview Lab → · Contrast checker → · Palette generator →

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