#397A1C#397A1C

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

Color values

HEX#397A1C
RGBrgb(57, 122, 28)
HSLhsl(101, 63%, 29%)
HSVhsv(101, 77%, 48%)
CMYKcmyk(53.3%, 0%, 77%, 52.2%)
CIE-LABlab(45.46, -38.23, 42.36)
CIE-LCHlch(45.46, 57.06, 132.07°)
OKLaboklab(51.71% -0.1057 0.0952)
OKLCHoklch(51.71% 0.142 138)
XYZxyz(8.8562, 14.8721, 3.5023)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A1C #5D1C7A
analogous
#687A1C #397A1C #1C7A2E
triadic
#397A1C #1C397A #7A1C39
tetradic
#397A1C #1C687A #5D1C7A #7A2E1C
square
#397A1C #1C687A #5D1C7A #7A2E1C
split-complementary
#397A1C #2E1C7A #7A1C68
monochromatic
#0C1906 #224811 #397A1C #50AC27 #6CD33E

Accessibility & contrast

On white

5.28
#397A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397A1C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A1C#FFFFFF#000000##FFFFFF
##397A1C1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F09
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#347668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a1c;
/* rgb */ color: rgb(57, 122, 28);
/* oklch */ color: oklch(51.7% 0.142 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a15f',
    500: '#397a1c',
    950: '#000000',
  },
}
SCSS
$custom: #397a1c;
$custom-light: #77a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#397a1c",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 101.489,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.14227,
    "h": 138
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#397A1C
secondary
#8D44AE
accent
#42E6B3
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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