#397D2F#397D2F

#397D2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.132 H 141.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#397D2F
RGBrgb(57, 125, 47)
HSLhsl(112, 45%, 34%)
HSVhsv(112, 62%, 49%)
CMYKcmyk(54.4%, 0%, 62.4%, 51%)
CIE-LABlab(46.63, -37.66, 35.31)
CIE-LCHlch(46.63, 51.62, 136.84°)
OKLaboklab(52.73% -0.1029 0.0828)
OKLCHoklch(52.73% 0.132 141.2)
XYZxyz(9.5336, 15.7416, 5.2248)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D2F #732F7D
analogous
#607D2F #397D2F #2F7D4C
triadic
#397D2F #2F397D #7D2F39
tetradic
#397D2F #2F607D #732F7D #7D4C2F
square
#397D2F #2F607D #732F7D #7D4C2F
split-complementary
#397D2F #4C2F7D #7D2F60
monochromatic
#10240E #25511E #397D2F #4DA940 #6FC462

Accessibility & contrast

On white

5.06
#397D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#397D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D2F#FFFFFF#000000##FFFFFF
##397D2F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#31796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d2f;
/* rgb */ color: rgb(57, 125, 47);
/* oklch */ color: oklch(52.7% 0.132 141.2);
Tailwind
colors: {
  custom: {
    50: '#76a36a',
    500: '#397d2f',
    950: '#000000',
  },
}
SCSS
$custom: #397d2f;
$custom-light: #76a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#397d2f",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 112.308,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.13206,
    "h": 141.2
  },
  "luminance": 0.15742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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