#57891B#57891B

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

Color values

HEX#57891B
RGBrgb(87, 137, 27)
HSLhsl(87, 67%, 32%)
HSVhsv(87, 80%, 54%)
CMYKcmyk(36.5%, 0%, 80.3%, 46.3%)
CIE-LABlab(51.83, -34.28, 49.34)
CIE-LCHlch(51.83, 60.08, 124.79°)
OKLaboklab(57.33% -0.0972 0.1091)
OKLCHoklch(57.33% 0.146 131.7)
XYZxyz(13.0738, 19.9962, 4.2075)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57891B #4D1B89
analogous
#89841B #57891B #20891B
triadic
#57891B #1B5789 #891B57
tetradic
#57891B #1B8984 #4D1B89 #891B20
square
#57891B #1B8984 #4D1B89 #891B20
split-complementary
#57891B #1B2089 #841B89
monochromatic
#162307 #375611 #57891B #77BC25 #96DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57891B#FFFFFF#000000##000000
##57891B1.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)
#887A27
Tritanopia (blue-blind)
#588375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #57891b;
/* rgb */ color: rgb(87, 137, 27);
/* oklch */ color: oklch(57.3% 0.146 131.7);
Tailwind
colors: {
  custom: {
    50: '#8bac61',
    500: '#57891b',
    950: '#000000',
  },
}
SCSS
$custom: #57891b;
$custom-light: #8bac61;
$custom-dark: #000000;
JSON
{
  "hex": "#57891b",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 87.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.14611,
    "h": 131.7
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#57891B
secondary
#7A44BC
accent
#3EEA8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57891B

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

Preview Lab → · Contrast checker → · Palette generator →

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