#57981B#57981B

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

Color values

HEX#57981B
RGBrgb(87, 152, 27)
HSLhsl(91, 70%, 35%)
HSVhsv(91, 82%, 60%)
CMYKcmyk(42.8%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.65, -40.80, 53.78)
CIE-LCHlch(56.65, 67.51, 127.19°)
OKLaboklab(61.27% -0.1147 0.1185)
OKLCHoklch(61.27% 0.165 134.1)
XYZxyz(15.3563, 24.5610, 4.9683)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57981B #5C1B98
analogous
#95981B #57981B #1B981E
triadic
#57981B #1B5798 #981B57
tetradic
#57981B #1B9598 #5C1B98 #981E1B
square
#57981B #1B9598 #5C1B98 #981E1B
split-complementary
#57981B #1E1B98 #981B95
monochromatic
#1C3009 #396412 #57981B #75CC24 #94E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57981B#FFFFFF#000000##000000
##57981B1.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)
#95862A
Tritanopia (blue-blind)
#569281
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #57981b;
/* rgb */ color: rgb(87, 152, 27);
/* oklch */ color: oklch(61.3% 0.165 134.1);
Tailwind
colors: {
  custom: {
    50: '#8db764',
    500: '#57981b',
    950: '#000000',
  },
}
SCSS
$custom: #57981b;
$custom-light: #8db764;
$custom-dark: #000000;
JSON
{
  "hex": "#57981b",
  "rgb": {
    "r": 87,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 91.2,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.1649,
    "h": 134.1
  },
  "luminance": 0.24562
}

Semantic roles & 50–950 ramp

primary
#57981B
secondary
#8A4DC2
accent
#3BED97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #57981B

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

Preview Lab → · Contrast checker → · Palette generator →

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