#57891C#57891C

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

Color values

HEX#57891C
RGBrgb(87, 137, 28)
HSLhsl(88, 66%, 32%)
HSVhsv(88, 80%, 54%)
CMYKcmyk(36.5%, 0%, 79.6%, 46.3%)
CIE-LABlab(51.84, -34.23, 49.02)
CIE-LCHlch(51.84, 59.78, 124.93°)
OKLaboklab(57.33% -0.0969 0.1086)
OKLCHoklch(57.33% 0.146 131.8)
XYZxyz(13.0856, 20.0009, 4.2695)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57891C #4E1C89
analogous
#89851C #57891C #20891C
triadic
#57891C #1C5789 #891C57
tetradic
#57891C #1C8985 #4E1C89 #891C20
square
#57891C #1C8985 #4E1C89 #891C20
split-complementary
#57891C #1C2089 #851C89
monochromatic
#162307 #375612 #57891C #77BC26 #96D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #57891c;
/* rgb */ color: rgb(87, 137, 28);
/* oklch */ color: oklch(57.3% 0.146 131.8);
Tailwind
colors: {
  custom: {
    50: '#8bac62',
    500: '#57891c',
    950: '#000000',
  },
}
SCSS
$custom: #57891c;
$custom-light: #8bac62;
$custom-dark: #000000;
JSON
{
  "hex": "#57891c",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 87.523,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.14557,
    "h": 131.8
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#57891C
secondary
#7C46BB
accent
#3FE98D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57891C

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

Preview Lab → · Contrast checker → · Palette generator →

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