#397A1D#397A1D

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

Color values

HEX#397A1D
RGBrgb(57, 122, 29)
HSLhsl(102, 62%, 30%)
HSVhsv(102, 76%, 48%)
CMYKcmyk(53.3%, 0%, 76.2%, 52.2%)
CIE-LABlab(45.47, -38.16, 41.98)
CIE-LCHlch(45.47, 56.73, 132.27°)
OKLaboklab(51.72% -0.1054 0.0946)
OKLCHoklch(51.72% 0.142 138.1)
XYZxyz(8.8683, 14.8770, 3.5664)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A1D #5E1D7A
analogous
#687A1D #397A1D #1D7A2F
triadic
#397A1D #1D397A #7A1D39
tetradic
#397A1D #1D687A #5E1D7A #7A2F1D
square
#397A1D #1D687A #5E1D7A #7A2F1D
split-complementary
#397A1D #2F1D7A #7A1D68
monochromatic
#0C1906 #224911 #397A1D #50AB29 #6CD240

Accessibility & contrast

On white

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

On black

3.98
#397A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397A1D#FFFFFF#000000##FFFFFF
##397A1D1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397a1d;
/* rgb */ color: rgb(57, 122, 29);
/* oklch */ color: oklch(51.7% 0.142 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a160',
    500: '#397a1d',
    950: '#000000',
  },
}
SCSS
$custom: #397a1d;
$custom-light: #77a160;
$custom-dark: #000000;
JSON
{
  "hex": "#397a1d",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 101.935,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.14164,
    "h": 138.1
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#397A1D
secondary
#8E45AE
accent
#43E5B4
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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