#397F2C#397F2C

#397F2C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.137 H 140.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#397F2C
RGBrgb(57, 127, 44)
HSLhsl(111, 49%, 34%)
HSVhsv(111, 65%, 50%)
CMYKcmyk(55.1%, 0%, 65.4%, 50.2%)
CIE-LABlab(47.27, -38.83, 37.46)
CIE-LCHlch(47.27, 53.96, 136.03°)
OKLaboklab(53.25% -0.1063 0.087)
OKLCHoklch(53.25% 0.137 140.7)
XYZxyz(9.7309, 16.2297, 5.0022)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F2C #722C7F
analogous
#627F2C #397F2C #2C7F48
triadic
#397F2C #2C397F #7F2C39
tetradic
#397F2C #2C627F #722C7F #7F482C
square
#397F2C #2C627F #722C7F #7F482C
split-complementary
#397F2C #482C7F #7F2C62
monochromatic
#10240D #25521C #397F2C #4DAC3C #6FC75E

Accessibility & contrast

On white

4.95
#397F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397F2C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F2C#FFFFFF#000000##FFFFFF
##397F2C1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#317B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f2c;
/* rgb */ color: rgb(57, 127, 44);
/* oklch */ color: oklch(53.2% 0.137 140.7);
Tailwind
colors: {
  custom: {
    50: '#77a569',
    500: '#397f2c',
    950: '#000000',
  },
}
SCSS
$custom: #397f2c;
$custom-light: #77a569;
$custom-dark: #000000;
JSON
{
  "hex": "#397f2c",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 110.602,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.13736,
    "h": 140.7
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#397F2C
secondary
#A059AD
accent
#50D8C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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