#397B3F#397B3F

#397B3F is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.114 H 145.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#397B3F
RGBrgb(57, 123, 63)
HSLhsl(125, 37%, 35%)
HSVhsv(125, 54%, 48%)
CMYKcmyk(53.7%, 0%, 48.8%, 51.8%)
CIE-LABlab(46.17, -34.58, 26.45)
CIE-LCHlch(46.17, 43.53, 142.59°)
OKLaboklab(52.42% -0.0938 0.0644)
OKLCHoklch(52.42% 0.114 145.5)
XYZxyz(9.6670, 15.3939, 7.1636)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B3F #7B3975
analogous
#547B39 #397B3F #397B60
triadic
#397B3F #3F397B #7B3F39
tetradic
#397B3F #39547B #7B3975 #7B6039
square
#397B3F #39547B #7B3975 #7B6039
split-complementary
#397B3F #60397B #7B3954
monochromatic
#122714 #26512A #397B3F #4CA554 #71BD78

Accessibility & contrast

On white

5.15
#397B3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#397B3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B3F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B3F#FFFFFF#000000##FFFFFF
##397B3F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713A
Deuteranopia (green-blind)
#746B43
Tritanopia (blue-blind)
#2E786D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b3f;
/* rgb */ color: rgb(57, 123, 63);
/* oklch */ color: oklch(52.4% 0.114 145.5);
Tailwind
colors: {
  custom: {
    50: '#75a275',
    500: '#397b3f',
    950: '#000000',
  },
}
SCSS
$custom: #397b3f;
$custom-light: #75a275;
$custom-dark: #000000;
JSON
{
  "hex": "#397b3f",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 63
  },
  "hsl": {
    "h": 125.455,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.11383,
    "h": 145.5
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#397B3F
secondary
#A669A1
accent
#5BC2CD
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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