#397D20#397D20

#397D20 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.6% C 0.144 H 138.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#397D20
RGBrgb(57, 125, 32)
HSLhsl(104, 59%, 31%)
HSVhsv(104, 74%, 49%)
CMYKcmyk(54.4%, 0%, 74.4%, 51%)
CIE-LABlab(46.50, -39.15, 41.85)
CIE-LCHlch(46.50, 57.31, 133.09°)
OKLaboklab(52.58% -0.1079 0.0947)
OKLCHoklch(52.58% 0.144 138.7)
XYZxyz(9.2813, 15.6407, 3.8961)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D20 #64207D
analogous
#677D20 #397D20 #207D35
triadic
#397D20 #20397D #7D2039
tetradic
#397D20 #20677D #64207D #7D3520
square
#397D20 #20677D #64207D #7D3520
split-complementary
#397D20 #35207D #7D2067
monochromatic
#0D1C07 #234C14 #397D20 #4FAE2C #6CD047

Accessibility & contrast

On white

5.09
#397D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D20#FFFFFF#000000##FFFFFF
##397D201.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d20;
/* rgb */ color: rgb(57, 125, 32);
/* oklch */ color: oklch(52.6% 0.144 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a362',
    500: '#397d20',
    950: '#000000',
  },
}
SCSS
$custom: #397d20;
$custom-light: #77a362;
$custom-dark: #000000;
JSON
{
  "hex": "#397d20",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 103.871,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.1436,
    "h": 138.7
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#397D20
secondary
#9449B0
accent
#45E2B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397D20

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

Preview Lab → · Contrast checker → · Palette generator →

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