#57781B#57781B

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

Color values

HEX#57781B
RGBrgb(87, 120, 27)
HSLhsl(81, 63%, 29%)
HSVhsv(81, 78%, 47%)
CMYKcmyk(27.5%, 0%, 77.5%, 52.9%)
CIE-LABlab(46.36, -26.29, 44.15)
CIE-LCHlch(46.36, 51.38, 120.78°)
OKLaboklab(52.87% -0.0755 0.0982)
OKLCHoklch(52.87% 0.124 127.6)
XYZxyz(10.8448, 15.5381, 3.4645)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57781B #3C1B78
analogous
#786B1B #57781B #29781B
triadic
#57781B #1B5778 #781B57
tetradic
#57781B #1B786B #3C1B78 #781B29
square
#57781B #1B786B #3C1B78 #781B29
split-complementary
#57781B #1B2978 #6B1B78
monochromatic
#121906 #334610 #57781B #7BAA26 #9DD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57781B#FFFFFF#000000##FFFFFF
##57781B1.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)
#7E6F07
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#5A7266
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #57781b;
/* rgb */ color: rgb(87, 120, 27);
/* oklch */ color: oklch(52.9% 0.124 127.6);
Tailwind
colors: {
  custom: {
    50: '#8a9f5f',
    500: '#57781b',
    950: '#000000',
  },
}
SCSS
$custom: #57781b;
$custom-light: #8a9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#57781b",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 81.29,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.12389,
    "h": 127.6
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#57781B
secondary
#6843AC
accent
#41E67C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57781B

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

Preview Lab → · Contrast checker → · Palette generator →

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