#57731C#57731C

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

Color values

HEX#57731C
RGBrgb(87, 115, 28)
HSLhsl(79, 61%, 28%)
HSVhsv(79, 76%, 45%)
CMYKcmyk(24.3%, 0%, 75.7%, 54.9%)
CIE-LABlab(44.76, -23.75, 42.21)
CIE-LCHlch(44.76, 48.43, 119.36°)
OKLaboklab(51.57% -0.0685 0.0943)
OKLCHoklch(51.57% 0.117 126)
XYZxyz(10.2709, 14.3714, 3.3312)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57731C #381C73
analogous
#73631C #57731C #2C731C
triadic
#57731C #1C5773 #731C57
tetradic
#57731C #1C7363 #381C73 #731C2C
square
#57731C #1C7363 #381C73 #731C2C
split-complementary
#57731C #1C2C73 #631C73
monochromatic
#131906 #324210 #57731C #7CA428 #9FCF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57731C#FFFFFF#000000##FFFFFF
##57731C1.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)
#796B0C
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#5B6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #57731c;
/* rgb */ color: rgb(87, 115, 28);
/* oklch */ color: oklch(51.6% 0.117 126.0);
Tailwind
colors: {
  custom: {
    50: '#899b5f',
    500: '#57731c',
    950: '#000000',
  },
}
SCSS
$custom: #57731c;
$custom-light: #899b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#57731c",
  "rgb": {
    "r": 87,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 79.31,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.11654,
    "h": 126
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#57731C
secondary
#6443A7
accent
#44E477
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57731C

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

Preview Lab → · Contrast checker → · Palette generator →

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