#397131#397131

#397131 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.113 H 141.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#397131
RGBrgb(57, 113, 49)
HSLhsl(113, 40%, 32%)
HSVhsv(113, 57%, 44%)
CMYKcmyk(49.6%, 0%, 56.6%, 55.7%)
CIE-LABlab(42.61, -32.20, 29.60)
CIE-LCHlch(42.61, 43.74, 137.40°)
OKLaboklab(49.44% -0.0879 0.0706)
OKLCHoklch(49.44% 0.113 141.3)
XYZxyz(8.1465, 12.9013, 4.9661)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397131 #693171
analogous
#597131 #397131 #317149
triadic
#397131 #313971 #713139
tetradic
#397131 #315971 #693171 #714931
square
#397131 #315971 #693171 #714931
split-complementary
#397131 #493171 #713159
monochromatic
#0E1C0C #23461E #397131 #4F9C44 #6DBB62

Accessibility & contrast

On white

5.87
#397131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#397131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397131
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397131#FFFFFF#000000##FFFFFF
##3971311.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#336E63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397131;
/* rgb */ color: rgb(57, 113, 49);
/* oklch */ color: oklch(49.4% 0.113 141.3);
Tailwind
colors: {
  custom: {
    50: '#749a6b',
    500: '#397131',
    950: '#000000',
  },
}
SCSS
$custom: #397131;
$custom-light: #749a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#397131",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 112.5,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.11275,
    "h": 141.3
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#397131
secondary
#995CA2
accent
#58CFC1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #397131

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

Preview Lab → · Contrast checker → · Palette generator →

#397131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva