#397A19#397A19

#397A19 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.144 H 137.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#397A19
RGBrgb(57, 122, 25)
HSLhsl(100, 66%, 29%)
HSVhsv(100, 80%, 48%)
CMYKcmyk(53.3%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.44, -38.44, 43.43)
CIE-LCHlch(45.44, 58.00, 131.51°)
OKLaboklab(51.69% -0.1065 0.097)
OKLCHoklch(51.69% 0.144 137.7)
XYZxyz(8.8220, 14.8585, 3.3226)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A19 #5A197A
analogous
#6A7A19 #397A19 #197A2A
triadic
#397A19 #19397A #7A1939
tetradic
#397A19 #196A7A #5A197A #7A2A19
square
#397A19 #196A7A #5A197A #7A2A19
split-complementary
#397A19 #2A197A #7A196A
monochromatic
#0C1905 #21470F #397A19 #51AD23 #6CD637

Accessibility & contrast

On white

5.29
#397A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#397A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A19
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A19#FFFFFF#000000##FFFFFF
##397A191.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#347568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a19;
/* rgb */ color: rgb(57, 122, 25);
/* oklch */ color: oklch(51.7% 0.144 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a15e',
    500: '#397a19',
    950: '#000000',
  },
}
SCSS
$custom: #397a19;
$custom-light: #77a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#397a19",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 100.206,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.14402,
    "h": 137.7
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#397A19
secondary
#8A40AF
accent
#3FE9B1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397A19

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

Preview Lab → · Contrast checker → · Palette generator →

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