#397F20#397F20

#397F20 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.146 H 138.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397F20
RGBrgb(57, 127, 32)
HSLhsl(104, 60%, 31%)
HSVhsv(104, 75%, 50%)
CMYKcmyk(55.1%, 0%, 74.8%, 50.2%)
CIE-LABlab(47.17, -39.96, 42.54)
CIE-LCHlch(47.17, 58.36, 133.21°)
OKLaboklab(53.13% -0.1101 0.0962)
OKLCHoklch(53.13% 0.146 138.9)
XYZxyz(9.5371, 16.1521, 3.9813)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F20 #66207F
analogous
#687F20 #397F20 #207F37
triadic
#397F20 #20397F #7F2039
tetradic
#397F20 #20687F #66207F #7F3720
square
#397F20 #20687F #66207F #7F3720
split-complementary
#397F20 #37207F #7F2068
monochromatic
#0D1D07 #234E14 #397F20 #4FB02C #6CD148

Accessibility & contrast

On white

4.96
#397F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#397F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F20
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F20#FFFFFF#000000##FFFFFF
##397F201.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#337B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f20;
/* rgb */ color: rgb(57, 127, 32);
/* oklch */ color: oklch(53.1% 0.146 138.9);
Tailwind
colors: {
  custom: {
    50: '#77a562',
    500: '#397f20',
    950: '#000000',
  },
}
SCSS
$custom: #397f20;
$custom-light: #77a562;
$custom-dark: #000000;
JSON
{
  "hex": "#397f20",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 104.211,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.14619,
    "h": 138.9
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#397F20
secondary
#9649B2
accent
#45E3B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397F20

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

Preview Lab → · Contrast checker → · Palette generator →

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