#57791F#57791F

#57791F is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.2% C 0.123 H 128.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#57791F
RGBrgb(87, 121, 31)
HSLhsl(83, 59%, 30%)
HSVhsv(83, 74%, 47%)
CMYKcmyk(28.1%, 0%, 74.4%, 52.5%)
CIE-LABlab(46.71, -26.53, 42.96)
CIE-LCHlch(46.71, 50.49, 121.70°)
OKLaboklab(53.16% -0.0758 0.0964)
OKLCHoklch(53.16% 0.123 128.2)
XYZxyz(11.0152, 15.7997, 3.7654)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57791F #411F79
analogous
#796E1F #57791F #2A791F
triadic
#57791F #1F5779 #791F57
tetradic
#57791F #1F796E #411F79 #791F2A
square
#57791F #1F796E #411F79 #791F2A
split-complementary
#57791F #1F2A79 #6E1F79
monochromatic
#121806 #344813 #57791F #7AAA2B #9ACF43

Accessibility & contrast

On white

5.05
#57791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#57791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57791F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57791F#FFFFFF#000000##FFFFFF
##57791F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#5A7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #57791f;
/* rgb */ color: rgb(87, 121, 31);
/* oklch */ color: oklch(53.2% 0.123 128.2);
Tailwind
colors: {
  custom: {
    50: '#8aa061',
    500: '#57791f',
    950: '#000000',
  },
}
SCSS
$custom: #57791f;
$custom-light: #8aa061;
$custom-dark: #000000;
JSON
{
  "hex": "#57791f",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 82.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.12264,
    "h": 128.2
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#57791F
secondary
#6E47AC
accent
#45E281
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57791F

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

Preview Lab → · Contrast checker → · Palette generator →

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