#57791A#57791A

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

Color values

HEX#57791A
RGBrgb(87, 121, 26)
HSLhsl(81, 65%, 29%)
HSVhsv(81, 79%, 47%)
CMYKcmyk(28.1%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.68, -26.84, 44.81)
CIE-LCHlch(46.68, 52.23, 120.92°)
OKLaboklab(53.13% -0.0771 0.0994)
OKLCHoklch(53.13% 0.126 127.8)
XYZxyz(10.9543, 15.7753, 3.4449)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57791A #3C1A79
analogous
#796C1A #57791A #28791A
triadic
#57791A #1A5779 #791A57
tetradic
#57791A #1A796C #3C1A79 #791A28
square
#57791A #1A796C #3C1A79 #791A28
split-complementary
#57791A #1A2879 #6C1A79
monochromatic
#121905 #33470F #57791A #7BAB25 #9DD439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57791A#FFFFFF#000000##FFFFFF
##57791A1.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)
#7F7004
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#5A7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #57791a;
/* rgb */ color: rgb(87, 121, 26);
/* oklch */ color: oklch(53.1% 0.126 127.8);
Tailwind
colors: {
  custom: {
    50: '#8aa05f',
    500: '#57791a',
    950: '#000000',
  },
}
SCSS
$custom: #57791a;
$custom-light: #8aa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#57791a",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 81.474,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.12581,
    "h": 127.8
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#57791A
secondary
#6841AD
accent
#40E87C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57791A

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

Preview Lab → · Contrast checker → · Palette generator →

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