#397D3F#397D3F

#397D3F is a mid, moderate green. Relative luminance 0.159; OKLCH L 53.0% C 0.117 H 145.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397D3F
RGBrgb(57, 125, 63)
HSLhsl(125, 37%, 36%)
HSVhsv(125, 54%, 49%)
CMYKcmyk(54.4%, 0%, 49.6%, 51%)
CIE-LABlab(46.84, -35.46, 27.29)
CIE-LCHlch(46.84, 44.74, 142.42°)
OKLaboklab(52.96% -0.0962 0.0663)
OKLCHoklch(52.96% 0.117 145.4)
XYZxyz(9.9176, 15.8952, 7.2471)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D3F #7D3977
analogous
#557D39 #397D3F #397D61
triadic
#397D3F #3F397D #7D3F39
tetradic
#397D3F #39557D #7D3977 #7D6139
square
#397D3F #39557D #7D3977 #7D6139
split-complementary
#397D3F #61397D #7D3955
monochromatic
#132915 #26532A #397D3F #4CA754 #72BF79

Accessibility & contrast

On white

5.02
#397D3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#397D3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D3F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D3F#FFFFFF#000000##FFFFFF
##397D3F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733A
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#2D7A6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397d3f;
/* rgb */ color: rgb(57, 125, 63);
/* oklch */ color: oklch(53.0% 0.117 145.4);
Tailwind
colors: {
  custom: {
    50: '#75a375',
    500: '#397d3f',
    950: '#000000',
  },
}
SCSS
$custom: #397d3f;
$custom-light: #75a375;
$custom-dark: #000000;
JSON
{
  "hex": "#397d3f",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 63
  },
  "hsl": {
    "h": 125.294,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.11685,
    "h": 145.4
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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