#57851A#57851A

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

Color values

HEX#57851A
RGBrgb(87, 133, 26)
HSLhsl(86, 67%, 31%)
HSVhsv(86, 80%, 52%)
CMYKcmyk(34.6%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.54, -32.52, 48.45)
CIE-LCHlch(50.54, 58.35, 123.86°)
OKLaboklab(56.27% -0.0925 0.1071)
OKLCHoklch(56.27% 0.141 130.8)
XYZxyz(12.5044, 18.8754, 3.9616)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57851A #481A85
analogous
#857D1A #57851A #21851A
triadic
#57851A #1A5785 #851A57
tetradic
#57851A #1A857D #481A85 #851A21
square
#57851A #1A857D #481A85 #851A21
split-complementary
#57851A #1A2185 #7D1A85
monochromatic
#141F06 #365210 #57851A #78B824 #97DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57851A#FFFFFF#000000##000000
##57851A1.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: #57851a;
/* rgb */ color: rgb(87, 133, 26);
/* oklch */ color: oklch(56.3% 0.141 130.8);
Tailwind
colors: {
  custom: {
    50: '#8ba960',
    500: '#57851a',
    950: '#000000',
  },
}
SCSS
$custom: #57851a;
$custom-light: #8ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#57851a",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 85.794,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5627,
    "c": 0.14149,
    "h": 130.8
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#57851A
secondary
#7542B8
accent
#3EEA88
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #57851A

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

Preview Lab → · Contrast checker → · Palette generator →

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