#397B3A#397B3A

#397B3A is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.119 H 143.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#397B3A
RGBrgb(57, 123, 58)
HSLhsl(121, 37%, 35%)
HSVhsv(121, 54%, 48%)
CMYKcmyk(53.7%, 0%, 52.8%, 51.8%)
CIE-LABlab(46.10, -35.35, 29.06)
CIE-LCHlch(46.10, 45.76, 140.58°)
OKLaboklab(52.33% -0.0961 0.07)
OKLCHoklch(52.33% 0.119 143.9)
XYZxyz(9.5335, 15.3405, 6.4608)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B3A #7B397A
analogous
#597B39 #397B3A #397B5B
triadic
#397B3A #3A397B #7B3A39
tetradic
#397B3A #39597B #7B397A #7B5B39
square
#397B3A #39597B #7B397A #7B5B39
split-complementary
#397B3A #5B397B #7B3959
monochromatic
#122713 #265126 #397B3A #4CA54E #71BD72

Accessibility & contrast

On white

5.16
#397B3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#397B3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B3A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B3A#FFFFFF#000000##FFFFFF
##397B3A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7134
Deuteranopia (green-blind)
#746B3F
Tritanopia (blue-blind)
#2F786C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b3a;
/* rgb */ color: rgb(57, 123, 58);
/* oklch */ color: oklch(52.3% 0.119 143.9);
Tailwind
colors: {
  custom: {
    50: '#75a272',
    500: '#397b3a',
    950: '#000000',
  },
}
SCSS
$custom: #397b3a;
$custom-light: #75a272;
$custom-dark: #000000;
JSON
{
  "hex": "#397b3a",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 58
  },
  "hsl": {
    "h": 120.909,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.11887,
    "h": 143.9
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#397B3A
secondary
#A669A6
accent
#5BCBCD
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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