#57831F#57831F

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

Color values

HEX#57831F
RGBrgb(87, 131, 31)
HSLhsl(86, 62%, 32%)
HSVhsv(86, 76%, 51%)
CMYKcmyk(33.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.93, -31.30, 46.14)
CIE-LCHlch(49.93, 55.75, 124.16°)
OKLaboklab(55.78% -0.0888 0.103)
OKLCHoklch(55.78% 0.136 130.8)
XYZxyz(12.2940, 18.3573, 4.1916)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57831F #4B1F83
analogous
#837D1F #57831F #25831F
triadic
#57831F #1F5783 #831F57
tetradic
#57831F #1F837D #4B1F83 #831F25
square
#57831F #1F837D #4B1F83 #831F25
split-complementary
#57831F #1F2583 #7D1F83
monochromatic
#152008 #365213 #57831F #78B42B #97D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57831F#FFFFFF#000000##000000
##57831F1.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)
#89790A
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#597D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #57831f;
/* rgb */ color: rgb(87, 131, 31);
/* oklch */ color: oklch(55.8% 0.136 130.8);
Tailwind
colors: {
  custom: {
    50: '#8aa762',
    500: '#57831f',
    950: '#000000',
  },
}
SCSS
$custom: #57831f;
$custom-light: #8aa762;
$custom-dark: #000000;
JSON
{
  "hex": "#57831f",
  "rgb": {
    "r": 87,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 86.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.13603,
    "h": 130.8
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#57831F
secondary
#7848B6
accent
#43E58A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #57831F

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

Preview Lab → · Contrast checker → · Palette generator →

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