#397F2E#397F2E

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

Color values

HEX#397F2E
RGBrgb(57, 127, 46)
HSLhsl(112, 47%, 34%)
HSVhsv(112, 64%, 50%)
CMYKcmyk(55.1%, 0%, 63.8%, 50.2%)
CIE-LABlab(47.29, -38.61, 36.54)
CIE-LCHlch(47.29, 53.16, 136.57°)
OKLaboklab(53.27% -0.1055 0.0853)
OKLCHoklch(53.27% 0.136 141.1)
XYZxyz(9.7694, 16.2451, 5.2050)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F2E #742E7F
analogous
#627F2E #397F2E #2E7F4C
triadic
#397F2E #2E397F #7F2E39
tetradic
#397F2E #2E627F #742E7F #7F4C2E
square
#397F2E #2E627F #742E7F #7F4C2E
split-complementary
#397F2E #4C2E7F #7F2E62
monochromatic
#11250D #25521E #397F2E #4DAC3E #6FC661

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F2E#FFFFFF#000000##FFFFFF
##397F2E1.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)
#827425
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#317B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f2e;
/* rgb */ color: rgb(57, 127, 46);
/* oklch */ color: oklch(53.3% 0.136 141.1);
Tailwind
colors: {
  custom: {
    50: '#76a56a',
    500: '#397f2e',
    950: '#000000',
  },
}
SCSS
$custom: #397f2e;
$custom-light: #76a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#397f2e",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 111.852,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.13569,
    "h": 141.1
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#397F2E
secondary
#A25CAD
accent
#51D6C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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