#397E2F#397E2F

#397E2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.133 H 141.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#397E2F
RGBrgb(57, 126, 47)
HSLhsl(112, 46%, 34%)
HSVhsv(112, 63%, 49%)
CMYKcmyk(54.8%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.97, -38.08, 35.69)
CIE-LCHlch(46.97, 52.19, 136.85°)
OKLaboklab(53.01% -0.104 0.0836)
OKLCHoklch(53.01% 0.133 141.2)
XYZxyz(9.6608, 15.9960, 5.2672)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E2F #742F7E
analogous
#617E2F #397E2F #2F7E4D
triadic
#397E2F #2F397E #7E2F39
tetradic
#397E2F #2F617E #742F7E #7E4D2F
square
#397E2F #2F617E #742F7E #7E4D2F
split-complementary
#397E2F #4D2F7E #7E2F61
monochromatic
#11250E #25511E #397E2F #4DAB40 #6FC563

Accessibility & contrast

On white

5.00
#397E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#397E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E2F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E2F#FFFFFF#000000##FFFFFF
##397E2F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#317A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e2f;
/* rgb */ color: rgb(57, 126, 47);
/* oklch */ color: oklch(53.0% 0.133 141.2);
Tailwind
colors: {
  custom: {
    50: '#76a46b',
    500: '#397e2f',
    950: '#000000',
  },
}
SCSS
$custom: #397e2f;
$custom-light: #76a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#397e2f",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 112.405,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.13345,
    "h": 141.2
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#397E2F
secondary
#A25DAC
accent
#52D5C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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