#57851B#57851B

#57851B is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.3% C 0.141 H 130.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#57851B
RGBrgb(87, 133, 27)
HSLhsl(86, 66%, 31%)
HSVhsv(86, 80%, 52%)
CMYKcmyk(34.6%, 0%, 79.7%, 47.8%)
CIE-LABlab(50.55, -32.46, 48.13)
CIE-LCHlch(50.55, 58.05, 124.00°)
OKLaboklab(56.28% -0.0923 0.1066)
OKLCHoklch(56.28% 0.141 130.9)
XYZxyz(12.5157, 18.8800, 4.0215)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57851B #491B85
analogous
#857E1B #57851B #22851B
triadic
#57851B #1B5785 #851B57
tetradic
#57851B #1B857E #491B85 #851B22
square
#57851B #1B857E #491B85 #851B22
split-complementary
#57851B #1B2285 #7E1B85
monochromatic
#141F06 #365211 #57851B #78B825 #97D942

Accessibility & contrast

On white

4.40
#57851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#57851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57851B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57851B#FFFFFF#000000##000000
##57851B1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#597F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #57851b;
/* rgb */ color: rgb(87, 133, 27);
/* oklch */ color: oklch(56.3% 0.141 130.9);
Tailwind
colors: {
  custom: {
    50: '#8ba961',
    500: '#57851b',
    950: '#000000',
  },
}
SCSS
$custom: #57851b;
$custom-light: #8ba961;
$custom-dark: #000000;
JSON
{
  "hex": "#57851b",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 86.038,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.14096,
    "h": 130.9
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#57851B
secondary
#7644B8
accent
#3FE989
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57851B

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

Preview Lab → · Contrast checker → · Palette generator →

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