#397140#397140

#397140 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.7% C 0.097 H 146.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#397140
RGBrgb(57, 113, 64)
HSLhsl(128, 33%, 33%)
HSVhsv(128, 50%, 44%)
CMYKcmyk(49.6%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.84, -29.86, 21.63)
CIE-LCHlch(42.84, 36.88, 144.08°)
OKLaboklab(49.7% -0.0811 0.0534)
OKLCHoklch(49.7% 0.097 146.6)
XYZxyz(8.5174, 13.0497, 6.9195)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397140 #71396A
analogous
#4E7139 #397140 #39715C
triadic
#397140 #403971 #714039
tetradic
#397140 #394E71 #71396A #715C39
square
#397140 #394E71 #71396A #715C39
split-complementary
#397140 #5C3971 #71394E
monochromatic
#102012 #244829 #397140 #4E9A57 #6EB677

Accessibility & contrast

On white

5.82
#397140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#397140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397140
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397140#FFFFFF#000000##FFFFFF
##3971401.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#306F65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397140;
/* rgb */ color: rgb(57, 113, 64);
/* oklch */ color: oklch(49.7% 0.097 146.6);
Tailwind
colors: {
  custom: {
    50: '#739a75',
    500: '#397140',
    950: '#000000',
  },
}
SCSS
$custom: #397140;
$custom-light: #739a75;
$custom-dark: #000000;
JSON
{
  "hex": "#397140",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 127.5,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.09714,
    "h": 146.6
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#397140
secondary
#A06698
accent
#5FBCC9
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #397140

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

Preview Lab → · Contrast checker → · Palette generator →

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