#57821B#57821B

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

Color values

HEX#57821B
RGBrgb(87, 130, 27)
HSLhsl(85, 66%, 31%)
HSVhsv(85, 79%, 51%)
CMYKcmyk(33.1%, 0%, 79.2%, 49%)
CIE-LABlab(49.58, -31.07, 47.22)
CIE-LCHlch(49.58, 56.53, 123.35°)
OKLaboklab(55.49% -0.0885 0.1047)
OKLCHoklch(55.49% 0.137 130.2)
XYZxyz(12.1109, 18.0702, 3.8865)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57821B #461B82
analogous
#82791B #57821B #23821B
triadic
#57821B #1B5782 #821B57
tetradic
#57821B #1B8279 #461B82 #821B23
square
#57821B #1B8279 #461B82 #821B23
split-complementary
#57821B #1B2382 #791B82
monochromatic
#131D06 #354F10 #57821B #79B526 #98D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57821B#FFFFFF#000000##000000
##57821B1.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)
#887801
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#597C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #57821b;
/* rgb */ color: rgb(87, 130, 27);
/* oklch */ color: oklch(55.5% 0.137 130.2);
Tailwind
colors: {
  custom: {
    50: '#8aa660',
    500: '#57821b',
    950: '#000000',
  },
}
SCSS
$custom: #57821b;
$custom-light: #8aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#57821b",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 85.049,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55489,
    "c": 0.13706,
    "h": 130.2
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#57821B
secondary
#7343B6
accent
#3FE986
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #57821B

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

Preview Lab → · Contrast checker → · Palette generator →

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