#397E20#397E20

#397E20 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.145 H 138.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397E20
RGBrgb(57, 126, 32)
HSLhsl(104, 59%, 31%)
HSVhsv(104, 75%, 49%)
CMYKcmyk(54.8%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.84, -39.55, 42.20)
CIE-LCHlch(46.84, 57.83, 133.15°)
OKLaboklab(52.86% -0.109 0.0954)
OKLCHoklch(52.86% 0.145 138.8)
XYZxyz(9.4086, 15.8951, 3.9385)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E20 #65207E
analogous
#687E20 #397E20 #207E36
triadic
#397E20 #20397E #7E2039
tetradic
#397E20 #20687E #65207E #7E3620
square
#397E20 #20687E #65207E #7E3620
split-complementary
#397E20 #36207E #7E2068
monochromatic
#0D1C07 #234D14 #397E20 #4FAF2C #6CD048

Accessibility & contrast

On white

5.02
#397E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397E20
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E20#FFFFFF#000000##FFFFFF
##397E201.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e20;
/* rgb */ color: rgb(57, 126, 32);
/* oklch */ color: oklch(52.9% 0.145 138.8);
Tailwind
colors: {
  custom: {
    50: '#77a462',
    500: '#397e20',
    950: '#000000',
  },
}
SCSS
$custom: #397e20;
$custom-light: #77a462;
$custom-dark: #000000;
JSON
{
  "hex": "#397e20",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 104.043,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.1449,
    "h": 138.8
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#397E20
secondary
#9549B1
accent
#45E3B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397E20

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

Preview Lab → · Contrast checker → · Palette generator →

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