#57831B#57831B

#57831B is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.8% C 0.138 H 130.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#57831B
RGBrgb(87, 131, 27)
HSLhsl(85, 66%, 31%)
HSVhsv(85, 79%, 51%)
CMYKcmyk(33.6%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.90, -31.54, 47.52)
CIE-LCHlch(49.90, 57.04, 123.57°)
OKLaboklab(55.75% -0.0898 0.1053)
OKLCHoklch(55.75% 0.138 130.4)
XYZxyz(12.2445, 18.3376, 3.9311)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57831B #471B83
analogous
#837B1B #57831B #23831B
triadic
#57831B #1B5783 #831B57
tetradic
#57831B #1B837B #471B83 #831B23
square
#57831B #1B837B #471B83 #831B23
split-complementary
#57831B #1B2383 #7B1B83
monochromatic
#141E06 #355011 #57831B #79B625 #98D841

Accessibility & contrast

On white

4.50
#57831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#57831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57831B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57831B#FFFFFF#000000##000000
##57831B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897901
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#597D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #57831b;
/* rgb */ color: rgb(87, 131, 27);
/* oklch */ color: oklch(55.8% 0.138 130.4);
Tailwind
colors: {
  custom: {
    50: '#8ba760',
    500: '#57831b',
    950: '#000000',
  },
}
SCSS
$custom: #57831b;
$custom-light: #8ba760;
$custom-dark: #000000;
JSON
{
  "hex": "#57831b",
  "rgb": {
    "r": 87,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 85.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.13837,
    "h": 130.4
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#57831B
secondary
#7443B6
accent
#3FE987
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #57831B

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

Preview Lab → · Contrast checker → · Palette generator →

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