#397E1D#397E1D

#397E1D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.147 H 138.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#397E1D
RGBrgb(57, 126, 29)
HSLhsl(103, 63%, 30%)
HSVhsv(103, 77%, 49%)
CMYKcmyk(54.8%, 0%, 77%, 50.6%)
CIE-LABlab(46.82, -39.78, 43.33)
CIE-LCHlch(46.82, 58.82, 132.56°)
OKLaboklab(52.83% -0.1098 0.0974)
OKLCHoklch(52.83% 0.147 138.4)
XYZxyz(9.3696, 15.8795, 3.7335)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E1D #621D7E
analogous
#6A7E1D #397E1D #1D7E31
triadic
#397E1D #1D397E #7E1D39
tetradic
#397E1D #1D6A7E #621D7E #7E311D
square
#397E1D #1D6A7E #621D7E #7E311D
split-complementary
#397E1D #311D7E #7E1D6A
monochromatic
#0C1B06 #224C12 #397E1D #50B028 #6CD342

Accessibility & contrast

On white

5.03
#397E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#397E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E1D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E1D#FFFFFF#000000##FFFFFF
##397E1D1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e1d;
/* rgb */ color: rgb(57, 126, 29);
/* oklch */ color: oklch(52.8% 0.147 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a460',
    500: '#397e1d',
    950: '#000000',
  },
}
SCSS
$custom: #397e1d;
$custom-light: #77a460;
$custom-dark: #000000;
JSON
{
  "hex": "#397e1d",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 102.68,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.14679,
    "h": 138.4
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#397E1D
secondary
#9245B1
accent
#42E6B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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