#57831A#57831A

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

Color values

HEX#57831A
RGBrgb(87, 131, 26)
HSLhsl(85, 67%, 31%)
HSVhsv(85, 80%, 51%)
CMYKcmyk(33.6%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.90, -31.59, 47.85)
CIE-LCHlch(49.90, 57.34, 123.43°)
OKLaboklab(55.75% -0.09 0.1058)
OKLCHoklch(55.75% 0.139 130.4)
XYZxyz(12.2332, 18.3330, 3.8712)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57831A #461A83
analogous
#837A1A #57831A #22831A
triadic
#57831A #1A5783 #831A57
tetradic
#57831A #1A837A #461A83 #831A22
square
#57831A #1A837A #461A83 #831A22
split-complementary
#57831A #1A2283 #7A1A83
monochromatic
#131D06 #355010 #57831A #79B624 #98D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #57831a;
/* rgb */ color: rgb(87, 131, 26);
/* oklch */ color: oklch(55.7% 0.139 130.4);
Tailwind
colors: {
  custom: {
    50: '#8ba760',
    500: '#57831a',
    950: '#000000',
  },
}
SCSS
$custom: #57831a;
$custom-light: #8ba760;
$custom-dark: #000000;
JSON
{
  "hex": "#57831a",
  "rgb": {
    "r": 87,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 85.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.1389,
    "h": 130.4
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

primary
#57831A
secondary
#7342B7
accent
#3EEA86
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #57831A

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

Preview Lab → · Contrast checker → · Palette generator →

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