#397B20#397B20

#397B20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.141 H 138.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#397B20
RGBrgb(57, 123, 32)
HSLhsl(104, 59%, 30%)
HSVhsv(104, 74%, 48%)
CMYKcmyk(53.7%, 0%, 74%, 51.8%)
CIE-LABlab(45.82, -38.33, 41.16)
CIE-LCHlch(45.82, 56.25, 132.96°)
OKLaboklab(52.02% -0.1057 0.0933)
OKLCHoklch(52.02% 0.141 138.6)
XYZxyz(9.0307, 15.1394, 3.8125)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B20 #62207B
analogous
#677B20 #397B20 #207B34
triadic
#397B20 #20397B #7B2039
tetradic
#397B20 #20677B #62207B #7B3420
square
#397B20 #20677B #62207B #7B3420
split-complementary
#397B20 #34207B #7B2067
monochromatic
#0C1A07 #224A13 #397B20 #50AC2D #6CCF46

Accessibility & contrast

On white

5.21
#397B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#397B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B20
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B20#FFFFFF#000000##FFFFFF
##397B201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b20;
/* rgb */ color: rgb(57, 123, 32);
/* oklch */ color: oklch(52.0% 0.141 138.6);
Tailwind
colors: {
  custom: {
    50: '#77a261',
    500: '#397b20',
    950: '#000000',
  },
}
SCSS
$custom: #397b20;
$custom-light: #77a261;
$custom-dark: #000000;
JSON
{
  "hex": "#397b20",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 103.516,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.14099,
    "h": 138.6
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#397B20
secondary
#9249AE
accent
#46E2B7
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397B20

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

Preview Lab → · Contrast checker → · Palette generator →

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