#397D19#397D19

#397D19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.148 H 137.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#397D19
RGBrgb(57, 125, 25)
HSLhsl(101, 67%, 29%)
HSVhsv(101, 80%, 49%)
CMYKcmyk(54.4%, 0%, 80%, 51%)
CIE-LABlab(46.45, -39.66, 44.41)
CIE-LCHlch(46.45, 59.54, 131.77°)
OKLaboklab(52.53% -0.1097 0.099)
OKLCHoklch(52.53% 0.148 137.9)
XYZxyz(9.1961, 15.6066, 3.4473)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D19 #5D197D
analogous
#6B7D19 #397D19 #197D2B
triadic
#397D19 #19397D #7D1939
tetradic
#397D19 #196B7D #5D197D #7D2B19
square
#397D19 #196B7D #5D197D #7D2B19
split-complementary
#397D19 #2B197D #7D196B
monochromatic
#0C1A05 #224A0F #397D19 #50B023 #6CD739

Accessibility & contrast

On white

5.10
#397D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#397D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D19
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D19#FFFFFF#000000##FFFFFF
##397D191.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#34786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d19;
/* rgb */ color: rgb(57, 125, 25);
/* oklch */ color: oklch(52.5% 0.148 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a35e',
    500: '#397d19',
    950: '#000000',
  },
}
SCSS
$custom: #397d19;
$custom-light: #77a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#397d19",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 100.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.14782,
    "h": 137.9
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#397D19
secondary
#8D40B1
accent
#3EEAB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D19

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

Preview Lab → · Contrast checker → · Palette generator →

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