#397A20#397A20

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

Color values

HEX#397A20
RGBrgb(57, 122, 32)
HSLhsl(103, 58%, 30%)
HSVhsv(103, 74%, 48%)
CMYKcmyk(53.3%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.49, -37.92, 40.82)
CIE-LCHlch(45.49, 55.71, 132.89°)
OKLaboklab(51.74% -0.1046 0.0926)
OKLCHoklch(51.74% 0.14 138.5)
XYZxyz(8.9073, 14.8925, 3.7714)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A20 #61207A
analogous
#667A20 #397A20 #207A34
triadic
#397A20 #20397A #7A2039
tetradic
#397A20 #20667A #61207A #7A3420
square
#397A20 #20667A #61207A #7A3420
split-complementary
#397A20 #34207A #7A2066
monochromatic
#0C1907 #224A13 #397A20 #50AA2D #6CCE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A20#FFFFFF#000000##FFFFFF
##397A201.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)
#7E6F11
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#347668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a20;
/* rgb */ color: rgb(57, 122, 32);
/* oklch */ color: oklch(51.7% 0.140 138.5);
Tailwind
colors: {
  custom: {
    50: '#76a161',
    500: '#397a20',
    950: '#000000',
  },
}
SCSS
$custom: #397a20;
$custom-light: #76a161;
$custom-dark: #000000;
JSON
{
  "hex": "#397a20",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 103.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.13968,
    "h": 138.5
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#397A20
secondary
#9149AD
accent
#46E2B6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397A20

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

Preview Lab → · Contrast checker → · Palette generator →

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