#57781F#57781F

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

Color values

HEX#57781F
RGBrgb(87, 120, 31)
HSLhsl(82, 59%, 30%)
HSVhsv(82, 74%, 47%)
CMYKcmyk(27.5%, 0%, 74.2%, 52.9%)
CIE-LABlab(46.39, -26.04, 42.64)
CIE-LCHlch(46.39, 49.96, 121.41°)
OKLaboklab(52.9% -0.0745 0.0957)
OKLCHoklch(52.9% 0.121 127.9)
XYZxyz(10.8943, 15.5579, 3.7251)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57781F #401F78
analogous
#786D1F #57781F #2B781F
triadic
#57781F #1F5778 #781F57
tetradic
#57781F #1F786D #401F78 #781F2B
square
#57781F #1F786D #401F78 #781F2B
split-complementary
#57781F #1F2B78 #6D1F78
monochromatic
#121806 #344712 #57781F #7AA92C #9BCE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57781F#FFFFFF#000000##FFFFFF
##57781F1.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)
#7E6F10
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#5A7267
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #57781f;
/* rgb */ color: rgb(87, 120, 31);
/* oklch */ color: oklch(52.9% 0.121 127.9);
Tailwind
colors: {
  custom: {
    50: '#899f61',
    500: '#57781f',
    950: '#000000',
  },
}
SCSS
$custom: #57781f;
$custom-light: #899f61;
$custom-dark: #000000;
JSON
{
  "hex": "#57781f",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 82.247,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.12128,
    "h": 127.9
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#57781F
secondary
#6C47AB
accent
#46E280
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57781F

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

Preview Lab → · Contrast checker → · Palette generator →

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