#57821A#57821A

#57821A is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.5% C 0.138 H 130.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#57821A
RGBrgb(87, 130, 26)
HSLhsl(85, 67%, 31%)
HSVhsv(85, 80%, 51%)
CMYKcmyk(33.1%, 0%, 80%, 49%)
CIE-LABlab(49.58, -31.13, 47.55)
CIE-LCHlch(49.58, 56.83, 123.21°)
OKLaboklab(55.48% -0.0887 0.1052)
OKLCHoklch(55.48% 0.138 130.1)
XYZxyz(12.0995, 18.0657, 3.8266)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57821A #451A82
analogous
#82791A #57821A #23821A
triadic
#57821A #1A5782 #821A57
tetradic
#57821A #1A8279 #451A82 #821A23
square
#57821A #1A8279 #451A82 #821A23
split-complementary
#57821A #1A2382 #791A82
monochromatic
#131C06 #354F10 #57821A #79B524 #99D83E

Accessibility & contrast

On white

4.55
#57821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#57821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57821A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57821A#FFFFFF#000000##000000
##57821A1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#597C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #57821a;
/* rgb */ color: rgb(87, 130, 26);
/* oklch */ color: oklch(55.5% 0.138 130.1);
Tailwind
colors: {
  custom: {
    50: '#8aa660',
    500: '#57821a',
    950: '#000000',
  },
}
SCSS
$custom: #57821a;
$custom-light: #8aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#57821a",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 84.808,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.13761,
    "h": 130.1
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#57821A
secondary
#7242B6
accent
#3EEA85
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #57821A

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

Preview Lab → · Contrast checker → · Palette generator →

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