#397F39#397F39

#397F39 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.4% C 0.126 H 143.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#397F39
RGBrgb(57, 127, 57)
HSLhsl(120, 38%, 36%)
HSVhsv(120, 55%, 50%)
CMYKcmyk(55.1%, 0%, 55.1%, 50.2%)
CIE-LABlab(47.42, -37.21, 31.19)
CIE-LCHlch(47.42, 48.56, 140.03°)
OKLaboklab(53.42% -0.1012 0.0747)
OKLCHoklch(53.42% 0.126 143.6)
XYZxyz(10.0147, 16.3432, 6.4969)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F39 #7F397F
analogous
#5C7F39 #397F39 #397F5C
triadic
#397F39 #39397F #7F3939
tetradic
#397F39 #395C7F #7F397F #7F5C39
square
#397F39 #395C7F #7F397F #7F5C39
split-complementary
#397F39 #5C397F #7F395C
monochromatic
#132B13 #265526 #397F39 #4CA94C #72C072

Accessibility & contrast

On white

4.92
#397F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#397F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F39
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F39#FFFFFF#000000##FFFFFF
##397F391.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817433
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#2E7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f39;
/* rgb */ color: rgb(57, 127, 57);
/* oklch */ color: oklch(53.4% 0.126 143.6);
Tailwind
colors: {
  custom: {
    50: '#76a571',
    500: '#397f39',
    950: '#000000',
  },
}
SCSS
$custom: #397f39;
$custom-light: #76a571;
$custom-dark: #000000;
JSON
{
  "hex": "#397f39",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.12574,
    "h": 143.6
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#397F39
secondary
#A96BA9
accent
#5ACECE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397F39

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

Preview Lab → · Contrast checker → · Palette generator →

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