#397E40#397E40

#397E40 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.3% C 0.117 H 145.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397E40
RGBrgb(57, 126, 64)
HSLhsl(126, 38%, 36%)
HSVhsv(126, 55%, 49%)
CMYKcmyk(54.8%, 0%, 49.2%, 50.6%)
CIE-LABlab(47.18, -35.73, 27.18)
CIE-LCHlch(47.18, 44.90, 142.74°)
OKLaboklab(53.25% -0.0969 0.0661)
OKLCHoklch(53.25% 0.117 145.7)
XYZxyz(10.0730, 16.1609, 7.4380)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E40 #7E3977
analogous
#547E39 #397E40 #397E62
triadic
#397E40 #40397E #7E4039
tetradic
#397E40 #39547E #7E3977 #7E6239
square
#397E40 #39547E #7E3977 #7E6239
split-complementary
#397E40 #62397E #7E3954
monochromatic
#132A15 #26542B #397E40 #4CA855 #72BF7A

Accessibility & contrast

On white

4.96
#397E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#397E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E40
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E40#FFFFFF#000000##FFFFFF
##397E401.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#776D44
Tritanopia (blue-blind)
#2D7B6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397e40;
/* rgb */ color: rgb(57, 126, 64);
/* oklch */ color: oklch(53.3% 0.117 145.7);
Tailwind
colors: {
  custom: {
    50: '#75a476',
    500: '#397e40',
    950: '#000000',
  },
}
SCSS
$custom: #397e40;
$custom-light: #75a476;
$custom-dark: #000000;
JSON
{
  "hex": "#397e40",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 126.087,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.11735,
    "h": 145.7
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#397E40
secondary
#A86AA2
accent
#5AC2CE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397E40

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

Preview Lab → · Contrast checker → · Palette generator →

#397E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva