#397E1C#397E1C

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

Color values

HEX#397E1C
RGBrgb(57, 126, 28)
HSLhsl(102, 64%, 30%)
HSVhsv(102, 78%, 49%)
CMYKcmyk(54.8%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.81, -39.86, 43.69)
CIE-LCHlch(46.81, 59.14, 132.37°)
OKLaboklab(52.82% -0.1101 0.098)
OKLCHoklch(52.82% 0.147 138.3)
XYZxyz(9.3575, 15.8747, 3.6694)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E1C #611C7E
analogous
#6A7E1C #397E1C #1C7E30
triadic
#397E1C #1C397E #7E1C39
tetradic
#397E1C #1C6A7E #611C7E #7E301C
square
#397E1C #1C6A7E #611C7E #7E301C
split-complementary
#397E1C #301C7E #7E1C6A
monochromatic
#0C1A06 #224C11 #397E1C #50B027 #6CD540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397E1C#FFFFFF#000000##FFFFFF
##397E1C1.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)
#827307
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e1c;
/* rgb */ color: rgb(57, 126, 28);
/* oklch */ color: oklch(52.8% 0.147 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a460',
    500: '#397e1c',
    950: '#000000',
  },
}
SCSS
$custom: #397e1c;
$custom-light: #77a460;
$custom-dark: #000000;
JSON
{
  "hex": "#397e1c",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 102.245,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.14738,
    "h": 138.3
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#397E1C
secondary
#9144B2
accent
#41E7B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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