#397F1E#397F1E

#397F1E is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.147 H 138.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#397F1E
RGBrgb(57, 127, 30)
HSLhsl(103, 62%, 31%)
HSVhsv(103, 76%, 50%)
CMYKcmyk(55.1%, 0%, 76.4%, 50.2%)
CIE-LABlab(47.16, -40.11, 43.29)
CIE-LCHlch(47.16, 59.02, 132.81°)
OKLaboklab(53.12% -0.1107 0.0975)
OKLCHoklch(53.12% 0.147 138.6)
XYZxyz(9.5107, 16.1416, 3.8425)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F1E #641E7F
analogous
#697F1E #397F1E #1E7F33
triadic
#397F1E #1E397F #7F1E39
tetradic
#397F1E #1E697F #641E7F #7F331E
square
#397F1E #1E697F #641E7F #7F331E
split-complementary
#397F1E #331E7F #7F1E69
monochromatic
#0D1C07 #234D12 #397F1E #4FB12A #6CD344

Accessibility & contrast

On white

4.97
#397F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#397F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F1E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F1E#FFFFFF#000000##FFFFFF
##397F1E1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f1e;
/* rgb */ color: rgb(57, 127, 30);
/* oklch */ color: oklch(53.1% 0.147 138.6);
Tailwind
colors: {
  custom: {
    50: '#77a561',
    500: '#397f1e',
    950: '#000000',
  },
}
SCSS
$custom: #397f1e;
$custom-light: #77a561;
$custom-dark: #000000;
JSON
{
  "hex": "#397f1e",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 103.299,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.14745,
    "h": 138.6
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#397F1E
secondary
#9447B2
accent
#43E5B8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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