#57731F#57731F

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

Color values

HEX#57731F
RGBrgb(87, 115, 31)
HSLhsl(80, 58%, 29%)
HSVhsv(80, 73%, 45%)
CMYKcmyk(24.3%, 0%, 73%, 54.9%)
CIE-LABlab(44.78, -23.55, 41.03)
CIE-LCHlch(44.78, 47.30, 119.85°)
OKLaboklab(51.6% -0.0676 0.0923)
OKLCHoklch(51.6% 0.114 126.2)
XYZxyz(10.3086, 14.3865, 3.5298)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57731F #3B1F73
analogous
#73651F #57731F #2D731F
triadic
#57731F #1F5773 #731F57
tetradic
#57731F #1F7365 #3B1F73 #731F2D
square
#57731F #1F7365 #3B1F73 #731F2D
split-complementary
#57731F #1F2D73 #651F73
monochromatic
#121806 #334312 #57731F #7BA32C #9DCC41

Accessibility & contrast

On white

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

On black

3.88
#57731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##57731F#FFFFFF#000000##FFFFFF
##57731F1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57731f;
/* rgb */ color: rgb(87, 115, 31);
/* oklch */ color: oklch(51.6% 0.114 126.2);
Tailwind
colors: {
  custom: {
    50: '#899b60',
    500: '#57731f',
    950: '#000000',
  },
}
SCSS
$custom: #57731f;
$custom-light: #899b60;
$custom-dark: #000000;
JSON
{
  "hex": "#57731f",
  "rgb": {
    "r": 87,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 80,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.11446,
    "h": 126.2
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#57731F
secondary
#6747A7
accent
#47E17A
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57731F

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

Preview Lab → · Contrast checker → · Palette generator →

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