#57781A#57781A

#57781A is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.124 H 127.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#57781A
RGBrgb(87, 120, 26)
HSLhsl(81, 64%, 29%)
HSVhsv(81, 78%, 47%)
CMYKcmyk(27.5%, 0%, 78.3%, 52.9%)
CIE-LABlab(46.36, -26.35, 44.50)
CIE-LCHlch(46.36, 51.72, 120.63°)
OKLaboklab(52.86% -0.0758 0.0988)
OKLCHoklch(52.86% 0.125 127.5)
XYZxyz(10.8334, 15.5335, 3.4046)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57781A #3B1A78
analogous
#786A1A #57781A #28781A
triadic
#57781A #1A5778 #781A57
tetradic
#57781A #1A786A #3B1A78 #781A28
square
#57781A #1A786A #3B1A78 #781A28
split-complementary
#57781A #1A2878 #6A1A78
monochromatic
#121905 #33460F #57781A #7BAA25 #9DD438

Accessibility & contrast

On white

5.11
#57781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#57781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57781A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57781A#FFFFFF#000000##FFFFFF
##57781A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F05
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#5A7266
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #57781a;
/* rgb */ color: rgb(87, 120, 26);
/* oklch */ color: oklch(52.9% 0.124 127.5);
Tailwind
colors: {
  custom: {
    50: '#8a9f5e',
    500: '#57781a',
    950: '#000000',
  },
}
SCSS
$custom: #57781a;
$custom-light: #8a9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#57781a",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 81.064,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.1245,
    "h": 127.5
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#57781A
secondary
#6741AC
accent
#40E77B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57781A

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

Preview Lab → · Contrast checker → · Palette generator →

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