#397A3E#397A3E

#397A3E is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.1% C 0.113 H 145.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#397A3E
RGBrgb(57, 122, 62)
HSLhsl(125, 36%, 35%)
HSVhsv(125, 53%, 48%)
CMYKcmyk(53.3%, 0%, 49.2%, 52.2%)
CIE-LABlab(45.82, -34.30, 26.56)
CIE-LCHlch(45.82, 43.37, 142.25°)
OKLaboklab(52.13% -0.0931 0.0646)
OKLCHoklch(52.13% 0.113 145.2)
XYZxyz(9.5158, 15.1360, 6.9766)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A3E #7A3975
analogous
#557A39 #397A3E #397A5E
triadic
#397A3E #3E397A #7A3E39
tetradic
#397A3E #39557A #7A3975 #7A5E39
square
#397A3E #39557A #7A3975 #7A5E39
split-complementary
#397A3E #5E397A #7A3955
monochromatic
#122714 #265029 #397A3E #4CA453 #71BD77

Accessibility & contrast

On white

5.21
#397A3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#397A3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A3E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A3E#FFFFFF#000000##FFFFFF
##397A3E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7039
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#2E776C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a3e;
/* rgb */ color: rgb(57, 122, 62);
/* oklch */ color: oklch(52.1% 0.113 145.2);
Tailwind
colors: {
  custom: {
    50: '#75a174',
    500: '#397a3e',
    950: '#000000',
  },
}
SCSS
$custom: #397a3e;
$custom-light: #75a174;
$custom-dark: #000000;
JSON
{
  "hex": "#397a3e",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 62
  },
  "hsl": {
    "h": 124.615,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.11333,
    "h": 145.2
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#397A3E
secondary
#A669A1
accent
#5BC4CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #397A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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