#57981D#57981D

#57981D is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.3% C 0.164 H 134.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#57981D
RGBrgb(87, 152, 29)
HSLhsl(92, 68%, 35%)
HSVhsv(92, 81%, 60%)
CMYKcmyk(42.8%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.65, -40.70, 53.20)
CIE-LCHlch(56.65, 66.98, 127.42°)
OKLaboklab(61.28% -0.1143 0.1175)
OKLCHoklch(61.28% 0.164 134.2)
XYZxyz(15.3802, 24.5706, 5.0944)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57981D #5E1D98
analogous
#94981D #57981D #1D9820
triadic
#57981D #1D5798 #981D57
tetradic
#57981D #1D9498 #5E1D98 #98201D
square
#57981D #1D9498 #5E1D98 #98201D
split-complementary
#57981D #201D98 #981D94
monochromatic
#1C3109 #3A6513 #57981D #74CB27 #94DE52

Accessibility & contrast

On white

3.55
#57981D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#57981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57981D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57981D#FFFFFF#000000##000000
##57981D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#569281
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #57981d;
/* rgb */ color: rgb(87, 152, 29);
/* oklch */ color: oklch(61.3% 0.164 134.2);
Tailwind
colors: {
  custom: {
    50: '#8cb764',
    500: '#57981d',
    950: '#000000',
  },
}
SCSS
$custom: #57981d;
$custom-light: #8cb764;
$custom-dark: #000000;
JSON
{
  "hex": "#57981d",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 91.707,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.16397,
    "h": 134.2
  },
  "luminance": 0.24571
}

Semantic roles & 50–950 ramp

primary
#57981D
secondary
#8C50C1
accent
#3DEB99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #57981D

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

Preview Lab → · Contrast checker → · Palette generator →

#57981D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva