#57891A#57891A

#57891A is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.147 H 131.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#57891A
RGBrgb(87, 137, 26)
HSLhsl(87, 68%, 32%)
HSVhsv(87, 81%, 54%)
CMYKcmyk(36.5%, 0%, 81%, 46.3%)
CIE-LABlab(51.83, -34.33, 49.65)
CIE-LCHlch(51.83, 60.37, 124.66°)
OKLaboklab(57.32% -0.0974 0.1096)
OKLCHoklch(57.32% 0.147 131.6)
XYZxyz(13.0625, 19.9916, 4.1476)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57891A #4C1A89
analogous
#89841A #57891A #20891A
triadic
#57891A #1A5789 #891A57
tetradic
#57891A #1A8984 #4C1A89 #891A20
square
#57891A #1A8984 #4C1A89 #891A20
split-complementary
#57891A #1A2089 #841A89
monochromatic
#162206 #365610 #57891A #78BC24 #96DB42

Accessibility & contrast

On white

4.20
#57891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#57891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57891A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57891A#FFFFFF#000000##000000
##57891A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#588375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #57891a;
/* rgb */ color: rgb(87, 137, 26);
/* oklch */ color: oklch(57.3% 0.147 131.6);
Tailwind
colors: {
  custom: {
    50: '#8bac61',
    500: '#57891a',
    950: '#000000',
  },
}
SCSS
$custom: #57891a;
$custom-light: #8bac61;
$custom-dark: #000000;
JSON
{
  "hex": "#57891a",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 87.027,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57321,
    "c": 0.14661,
    "h": 131.6
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#57891A
secondary
#7943BC
accent
#3DEB8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57891A

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

Preview Lab → · Contrast checker → · Palette generator →

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