#57891F#57891F

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

Color values

HEX#57891F
RGBrgb(87, 137, 31)
HSLhsl(88, 63%, 33%)
HSVhsv(88, 77%, 54%)
CMYKcmyk(36.5%, 0%, 77.4%, 46.3%)
CIE-LABlab(51.86, -34.05, 48.01)
CIE-LCHlch(51.86, 58.86, 125.35°)
OKLaboklab(57.35% -0.0963 0.107)
OKLCHoklch(57.35% 0.144 132)
XYZxyz(13.1233, 20.0160, 4.4681)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57891F #511F89
analogous
#89861F #57891F #22891F
triadic
#57891F #1F5789 #891F57
tetradic
#57891F #1F8986 #511F89 #891F22
square
#57891F #1F8986 #511F89 #891F22
split-complementary
#57891F #1F2289 #861F89
monochromatic
#182508 #375714 #57891F #77BB2A #95D64C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57891F#FFFFFF#000000##000000
##57891F1.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)
#8F7E07
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#588375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #57891f;
/* rgb */ color: rgb(87, 137, 31);
/* oklch */ color: oklch(57.4% 0.144 132.0);
Tailwind
colors: {
  custom: {
    50: '#8bac63',
    500: '#57891f',
    950: '#000000',
  },
}
SCSS
$custom: #57891f;
$custom-light: #8bac63;
$custom-dark: #000000;
JSON
{
  "hex": "#57891f",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 88.302,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.1439,
    "h": 132
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#57891F
secondary
#7F4BB9
accent
#42E68F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #57891F

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

Preview Lab → · Contrast checker → · Palette generator →

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