#57792F#57792F

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

Color values

HEX#57792F
RGBrgb(87, 121, 47)
HSLhsl(88, 44%, 33%)
HSVhsv(88, 61%, 47%)
CMYKcmyk(28.1%, 0%, 61.2%, 52.5%)
CIE-LABlab(46.85, -25.19, 35.97)
CIE-LCHlch(46.85, 43.91, 125.01°)
OKLaboklab(53.32% -0.0707 0.0839)
OKLCHoklch(53.32% 0.11 130.1)
XYZxyz(11.2808, 15.9059, 5.1646)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57792F #512F79
analogous
#79762F #57792F #32792F
triadic
#57792F #2F5779 #792F57
tetradic
#57792F #2F7976 #512F79 #792F32
square
#57792F #2F7976 #512F79 #792F32
split-complementary
#57792F #2F3279 #762F79
monochromatic
#18210D #374D1E #57792F #77A540 #95C261

Accessibility & contrast

On white

5.02
#57792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #57792F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57792F#FFFFFF#000000##FFFFFF
##57792F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57792f;
/* rgb */ color: rgb(87, 121, 47);
/* oklch */ color: oklch(53.3% 0.110 130.1);
Tailwind
colors: {
  custom: {
    50: '#89a06a',
    500: '#57792f',
    950: '#000000',
  },
}
SCSS
$custom: #57792f;
$custom-light: #89a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#57792f",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 87.568,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.10967,
    "h": 130.1
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#57792F
secondary
#7F5BA8
accent
#54D48F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #57792F

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

Preview Lab → · Contrast checker → · Palette generator →

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