#397A3F#397A3F

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

Color values

HEX#397A3F
RGBrgb(57, 122, 63)
HSLhsl(126, 36%, 35%)
HSVhsv(126, 53%, 48%)
CMYKcmyk(53.3%, 0%, 48.4%, 52.2%)
CIE-LABlab(45.83, -34.13, 26.03)
CIE-LCHlch(45.83, 42.93, 142.68°)
OKLaboklab(52.14% -0.0926 0.0635)
OKLCHoklch(52.14% 0.112 145.6)
XYZxyz(9.5435, 15.1470, 7.1224)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A3F #7A3974
analogous
#547A39 #397A3F #397A5F
triadic
#397A3F #3F397A #7A3F39
tetradic
#397A3F #39547A #7A3974 #7A5F39
square
#397A3F #39547A #7A3974 #7A5F39
split-complementary
#397A3F #5F397A #7A3954
monochromatic
#122714 #265029 #397A3F #4CA455 #71BD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A3F#FFFFFF#000000##FFFFFF
##397A3F1.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)
#7C703A
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#2E776C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a3f;
/* rgb */ color: rgb(57, 122, 63);
/* oklch */ color: oklch(52.1% 0.112 145.6);
Tailwind
colors: {
  custom: {
    50: '#75a175',
    500: '#397a3f',
    950: '#000000',
  },
}
SCSS
$custom: #397a3f;
$custom-light: #75a175;
$custom-dark: #000000;
JSON
{
  "hex": "#397a3f",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 63
  },
  "hsl": {
    "h": 125.538,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.1123,
    "h": 145.6
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#397A3F
secondary
#A669A0
accent
#5BC2CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #397A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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