#397F47#397F47

#397F47 is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.7% C 0.112 H 148.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#397F47
RGBrgb(57, 127, 71)
HSLhsl(132, 38%, 36%)
HSVhsv(132, 55%, 50%)
CMYKcmyk(55.1%, 0%, 44.1%, 50.2%)
CIE-LABlab(47.63, -35.00, 23.90)
CIE-LCHlch(47.63, 42.39, 145.67°)
OKLaboklab(53.65% -0.0949 0.0589)
OKLCHoklch(53.65% 0.112 148.2)
XYZxyz(10.4134, 16.5027, 8.5966)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F47 #7F3971
analogous
#4E7F39 #397F47 #397F6A
triadic
#397F47 #47397F #7F4739
tetradic
#397F47 #394E7F #7F3971 #7F6A39
square
#397F47 #394E7F #7F3971 #7F6A39
split-complementary
#397F47 #6A397F #7F394E
monochromatic
#132B18 #26552F #397F47 #4CA95F #72C082

Accessibility & contrast

On white

4.88
#397F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#397F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F47
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F47#FFFFFF#000000##FFFFFF
##397F471.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807543
Deuteranopia (green-blind)
#776E4B
Tritanopia (blue-blind)
#2B7D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f47;
/* rgb */ color: rgb(57, 127, 71);
/* oklch */ color: oklch(53.7% 0.112 148.2);
Tailwind
colors: {
  custom: {
    50: '#75a57b',
    500: '#397f47',
    950: '#000000',
  },
}
SCSS
$custom: #397f47;
$custom-light: #75a57b;
$custom-dark: #000000;
JSON
{
  "hex": "#397f47",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 71
  },
  "hsl": {
    "h": 132,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.11168,
    "h": 148.2
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#397F47
secondary
#A96B9D
accent
#5AB7CE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #397F47

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

Preview Lab → · Contrast checker → · Palette generator →

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