#397F2F#397F2F

#397F2F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.3% C 0.135 H 141.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#397F2F
RGBrgb(57, 127, 47)
HSLhsl(113, 46%, 34%)
HSVhsv(113, 63%, 50%)
CMYKcmyk(55.1%, 0%, 63%, 50.2%)
CIE-LABlab(47.30, -38.49, 36.08)
CIE-LCHlch(47.30, 52.75, 136.86°)
OKLaboklab(53.28% -0.1052 0.0844)
OKLCHoklch(53.28% 0.135 141.2)
XYZxyz(9.7894, 16.2530, 5.3101)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F2F #752F7F
analogous
#617F2F #397F2F #2F7F4D
triadic
#397F2F #2F397F #7F2F39
tetradic
#397F2F #2F617F #752F7F #7F4D2F
square
#397F2F #2F617F #752F7F #7F4D2F
split-complementary
#397F2F #4D2F7F #7F2F61
monochromatic
#11260E #25521E #397F2F #4DAC40 #6FC563

Accessibility & contrast

On white

4.94
#397F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#397F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F2F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F2F#FFFFFF#000000##FFFFFF
##397F2F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#307B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f2f;
/* rgb */ color: rgb(57, 127, 47);
/* oklch */ color: oklch(53.3% 0.135 141.2);
Tailwind
colors: {
  custom: {
    50: '#76a56b',
    500: '#397f2f',
    950: '#000000',
  },
}
SCSS
$custom: #397f2f;
$custom-light: #76a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#397f2f",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 112.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53283,
    "c": 0.13485,
    "h": 141.2
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#397F2F
secondary
#A25EAC
accent
#52D6C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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