#397C2F#397C2F

#397C2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.5% C 0.131 H 141.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#397C2F
RGBrgb(57, 124, 47)
HSLhsl(112, 45%, 34%)
HSVhsv(112, 62%, 49%)
CMYKcmyk(54%, 0%, 62.1%, 51.4%)
CIE-LABlab(46.30, -37.24, 34.93)
CIE-LCHlch(46.30, 51.05, 136.83°)
OKLaboklab(52.45% -0.1018 0.082)
OKLCHoklch(52.45% 0.131 141.2)
XYZxyz(9.4077, 15.4897, 5.1828)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C2F #722F7C
analogous
#5F7C2F #397C2F #2F7C4B
triadic
#397C2F #2F397C #7C2F39
tetradic
#397C2F #2F5F7C #722F7C #7C4B2F
square
#397C2F #2F5F7C #722F7C #7C4B2F
split-complementary
#397C2F #4B2F7C #7C2F5F
monochromatic
#10230D #25501E #397C2F #4DA840 #6FC362

Accessibility & contrast

On white

5.12
#397C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#397C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C2F#FFFFFF#000000##FFFFFF
##397C2F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#31786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397c2f;
/* rgb */ color: rgb(57, 124, 47);
/* oklch */ color: oklch(52.5% 0.131 141.2);
Tailwind
colors: {
  custom: {
    50: '#76a26a',
    500: '#397c2f',
    950: '#000000',
  },
}
SCSS
$custom: #397c2f;
$custom-light: #76a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#397c2f",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 112.208,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.13066,
    "h": 141.2
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#397C2F
secondary
#A05CAA
accent
#53D5C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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