#397F3A#397F3A

#397F3A is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.125 H 143.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#397F3A
RGBrgb(57, 127, 58)
HSLhsl(121, 38%, 36%)
HSVhsv(121, 55%, 50%)
CMYKcmyk(55.1%, 0%, 54.3%, 50.2%)
CIE-LABlab(47.43, -37.07, 30.69)
CIE-LCHlch(47.43, 48.12, 140.38°)
OKLaboklab(53.43% -0.1007 0.0736)
OKLCHoklch(53.43% 0.125 143.8)
XYZxyz(10.0399, 16.3533, 6.6296)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F3A #7F397E
analogous
#5B7F39 #397F3A #397F5D
triadic
#397F3A #3A397F #7F3A39
tetradic
#397F3A #395B7F #7F397E #7F5D39
square
#397F3A #395B7F #7F397E #7F5D39
split-complementary
#397F3A #5D397F #7F395B
monochromatic
#132B13 #265527 #397F3A #4CA94D #72C074

Accessibility & contrast

On white

4.92
#397F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#397F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F3A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F3A#FFFFFF#000000##FFFFFF
##397F3A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817434
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#2E7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f3a;
/* rgb */ color: rgb(57, 127, 58);
/* oklch */ color: oklch(53.4% 0.125 143.8);
Tailwind
colors: {
  custom: {
    50: '#76a572',
    500: '#397f3a',
    950: '#000000',
  },
}
SCSS
$custom: #397f3a;
$custom-light: #76a572;
$custom-dark: #000000;
JSON
{
  "hex": "#397f3a",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 58
  },
  "hsl": {
    "h": 120.857,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.12477,
    "h": 143.8
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#397F3A
secondary
#A96BA8
accent
#5ACCCE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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