#397F4E#397F4E

#397F4E is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.8% C 0.104 H 151.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#397F4E
RGBrgb(57, 127, 78)
HSLhsl(138, 38%, 36%)
HSVhsv(138, 55%, 50%)
CMYKcmyk(55.1%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.75, -33.72, 20.13)
CIE-LCHlch(47.75, 39.28, 149.16°)
OKLaboklab(53.79% -0.0915 0.0503)
OKLCHoklch(53.79% 0.104 151.2)
XYZxyz(10.6511, 16.5978, 9.8487)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F4E #7F396A
analogous
#477F39 #397F4E #397F71
triadic
#397F4E #4E397F #7F4E39
tetradic
#397F4E #39477F #7F396A #7F7139
square
#397F4E #39477F #7F396A #7F7139
split-complementary
#397F4E #71397F #7F3947
monochromatic
#132B1A #265534 #397F4E #4CA968 #72C08A

Accessibility & contrast

On white

4.86
#397F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#397F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F4E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F4E#FFFFFF#000000##FFFFFF
##397F4E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#766F51
Tritanopia (blue-blind)
#287D73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f4e;
/* rgb */ color: rgb(57, 127, 78);
/* oklch */ color: oklch(53.8% 0.104 151.2);
Tailwind
colors: {
  custom: {
    50: '#75a580',
    500: '#397f4e',
    950: '#000000',
  },
}
SCSS
$custom: #397f4e;
$custom-light: #75a580;
$custom-dark: #000000;
JSON
{
  "hex": "#397f4e",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 138,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.10443,
    "h": 151.2
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#397F4E
secondary
#A96B96
accent
#5AABCE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #397F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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