#397E1F#397E1F

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

Color values

HEX#397E1F
RGBrgb(57, 126, 31)
HSLhsl(104, 61%, 31%)
HSVhsv(104, 75%, 49%)
CMYKcmyk(54.8%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.83, -39.63, 42.58)
CIE-LCHlch(46.83, 58.17, 132.95°)
OKLaboklab(52.85% -0.1093 0.0961)
OKLCHoklch(52.85% 0.146 138.7)
XYZxyz(9.3952, 15.8898, 3.8680)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E1F #641F7E
analogous
#687E1F #397E1F #1F7E34
triadic
#397E1F #1F397E #7E1F39
tetradic
#397E1F #1F687E #641F7E #7E341F
square
#397E1F #1F687E #641F7E #7E341F
split-complementary
#397E1F #341F7E #7E1F68
monochromatic
#0D1C07 #234D13 #397E1F #4FAF2B #6CD146

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397E1F#FFFFFF#000000##FFFFFF
##397E1F1.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)
#82730E
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e1f;
/* rgb */ color: rgb(57, 126, 31);
/* oklch */ color: oklch(52.8% 0.146 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a461',
    500: '#397e1f',
    950: '#000000',
  },
}
SCSS
$custom: #397e1f;
$custom-light: #77a461;
$custom-dark: #000000;
JSON
{
  "hex": "#397e1f",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 103.579,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.14555,
    "h": 138.7
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#397E1F
secondary
#9448B1
accent
#44E4B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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