#57731A#57731A

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

Color values

HEX#57731A
RGBrgb(87, 115, 26)
HSLhsl(79, 63%, 28%)
HSVhsv(79, 77%, 45%)
CMYKcmyk(24.3%, 0%, 77.4%, 54.9%)
CIE-LABlab(44.75, -23.87, 42.96)
CIE-LCHlch(44.75, 49.14, 119.06°)
OKLaboklab(51.56% -0.069 0.0955)
OKLCHoklch(51.56% 0.118 125.8)
XYZxyz(10.2477, 14.3621, 3.2094)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57731A #361A73
analogous
#73621A #57731A #2B731A
triadic
#57731A #1A5773 #731A57
tetradic
#57731A #1A7362 #361A73 #731A2B
square
#57731A #1A7362 #361A73 #731A2B
split-complementary
#57731A #1A2B73 #621A73
monochromatic
#131906 #31410F #57731A #7DA525 #A1D236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57731A#FFFFFF#000000##FFFFFF
##57731A1.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)
#796B07
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#5B6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #57731a;
/* rgb */ color: rgb(87, 115, 26);
/* oklch */ color: oklch(51.6% 0.118 125.8);
Tailwind
colors: {
  custom: {
    50: '#899b5e',
    500: '#57731a',
    950: '#000000',
  },
}
SCSS
$custom: #57731a;
$custom-light: #899b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#57731a",
  "rgb": {
    "r": 87,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 78.876,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.11785,
    "h": 125.8
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#57731A
secondary
#6141A8
accent
#42E675
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57731A

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

Preview Lab → · Contrast checker → · Palette generator →

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