#57731B#57731B

#57731B is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.6% C 0.117 H 125.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#57731B
RGBrgb(87, 115, 27)
HSLhsl(79, 62%, 28%)
HSVhsv(79, 77%, 45%)
CMYKcmyk(24.3%, 0%, 76.5%, 54.9%)
CIE-LABlab(44.75, -23.81, 42.59)
CIE-LCHlch(44.75, 48.79, 119.21°)
OKLaboklab(51.57% -0.0687 0.0949)
OKLCHoklch(51.57% 0.117 125.9)
XYZxyz(10.2591, 14.3667, 3.2692)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57731B #371B73
analogous
#73631B #57731B #2B731B
triadic
#57731B #1B5773 #731B57
tetradic
#57731B #1B7363 #371B73 #731B2B
square
#57731B #1B7363 #371B73 #731B2B
split-complementary
#57731B #1B2B73 #631B73
monochromatic
#131906 #32410F #57731B #7CA527 #A0D038

Accessibility & contrast

On white

5.42
#57731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#57731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57731B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57731B#FFFFFF#000000##FFFFFF
##57731B1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0A
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#5B6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #57731b;
/* rgb */ color: rgb(87, 115, 27);
/* oklch */ color: oklch(51.6% 0.117 125.9);
Tailwind
colors: {
  custom: {
    50: '#899b5e',
    500: '#57731b',
    950: '#000000',
  },
}
SCSS
$custom: #57731b;
$custom-light: #899b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#57731b",
  "rgb": {
    "r": 87,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 79.091,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.11721,
    "h": 125.9
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#57731B
secondary
#6242A8
accent
#43E576
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57731B

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

Preview Lab → · Contrast checker → · Palette generator →

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