#397D1E#397D1E

#397D1E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.6% C 0.145 H 138.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#397D1E
RGBrgb(57, 125, 30)
HSLhsl(103, 61%, 30%)
HSVhsv(103, 76%, 49%)
CMYKcmyk(54.4%, 0%, 76%, 51%)
CIE-LABlab(46.49, -39.30, 42.62)
CIE-LCHlch(46.49, 57.98, 132.68°)
OKLaboklab(52.56% -0.1085 0.0961)
OKLCHoklch(52.56% 0.145 138.5)
XYZxyz(9.2550, 15.6301, 3.7573)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D1E #621E7D
analogous
#687D1E #397D1E #1E7D32
triadic
#397D1E #1E397D #7D1E39
tetradic
#397D1E #1E687D #621E7D #7D321E
square
#397D1E #1E687D #621E7D #7D321E
split-complementary
#397D1E #321E7D #7D1E68
monochromatic
#0C1A06 #224C12 #397D1E #50AE2A #6CD243

Accessibility & contrast

On white

5.09
#397D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D1E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D1E#FFFFFF#000000##FFFFFF
##397D1E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d1e;
/* rgb */ color: rgb(57, 125, 30);
/* oklch */ color: oklch(52.6% 0.145 138.5);
Tailwind
colors: {
  custom: {
    50: '#77a361',
    500: '#397d1e',
    950: '#000000',
  },
}
SCSS
$custom: #397d1e;
$custom-light: #77a361;
$custom-dark: #000000;
JSON
{
  "hex": "#397d1e",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 102.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.14489,
    "h": 138.5
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

primary
#397D1E
secondary
#9246B0
accent
#43E4B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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