#57791E#57791E

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

Color values

HEX#57791E
RGBrgb(87, 121, 30)
HSLhsl(82, 60%, 30%)
HSVhsv(82, 75%, 47%)
CMYKcmyk(28.1%, 0%, 75.2%, 52.5%)
CIE-LABlab(46.70, -26.60, 43.35)
CIE-LCHlch(46.70, 50.86, 121.53°)
OKLaboklab(53.15% -0.0761 0.097)
OKLCHoklch(53.15% 0.123 128.1)
XYZxyz(11.0022, 15.7945, 3.6970)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57791E #401E79
analogous
#796E1E #57791E #29791E
triadic
#57791E #1E5779 #791E57
tetradic
#57791E #1E796E #401E79 #791E29
square
#57791E #1E796E #401E79 #791E29
split-complementary
#57791E #1E2979 #6E1E79
monochromatic
#121906 #344812 #57791E #7AAA2A #9BD041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57791E#FFFFFF#000000##FFFFFF
##57791E1.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)
#7F700D
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#5A7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #57791e;
/* rgb */ color: rgb(87, 121, 30);
/* oklch */ color: oklch(53.2% 0.123 128.1);
Tailwind
colors: {
  custom: {
    50: '#8aa061',
    500: '#57791e',
    950: '#000000',
  },
}
SCSS
$custom: #57791e;
$custom-light: #8aa061;
$custom-dark: #000000;
JSON
{
  "hex": "#57791e",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 82.418,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.12331,
    "h": 128.1
  },
  "luminance": 0.15795
}

Semantic roles & 50–950 ramp

primary
#57791E
secondary
#6C46AD
accent
#44E380
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57791E

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

Preview Lab → · Contrast checker → · Palette generator →

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