#397D28#397D28

#397D28 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.138 H 139.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#397D28
RGBrgb(57, 125, 40)
HSLhsl(108, 52%, 32%)
HSVhsv(108, 68%, 49%)
CMYKcmyk(54.4%, 0%, 68%, 51%)
CIE-LABlab(46.56, -38.42, 38.52)
CIE-LCHlch(46.56, 54.40, 134.93°)
OKLaboklab(52.65% -0.1054 0.0888)
OKLCHoklch(52.65% 0.138 139.9)
XYZxyz(9.4036, 15.6896, 4.5399)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D28 #6C287D
analogous
#647D28 #397D28 #287D42
triadic
#397D28 #28397D #7D2839
tetradic
#397D28 #28647D #6C287D #7D4228
square
#397D28 #28647D #6C287D #7D4228
split-complementary
#397D28 #42287D #7D2864
monochromatic
#0F200A #244F19 #397D28 #4EAB37 #6DC956

Accessibility & contrast

On white

5.07
#397D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#397D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D28
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D28#FFFFFF#000000##FFFFFF
##397D281.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721D
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d28;
/* rgb */ color: rgb(57, 125, 40);
/* oklch */ color: oklch(52.7% 0.138 139.9);
Tailwind
colors: {
  custom: {
    50: '#76a366',
    500: '#397d28',
    950: '#000000',
  },
}
SCSS
$custom: #397d28;
$custom-light: #76a366;
$custom-dark: #000000;
JSON
{
  "hex": "#397d28",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 108,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.13784,
    "h": 139.9
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#397D28
secondary
#9C53AE
accent
#4DDBBF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D28

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

Preview Lab → · Contrast checker → · Palette generator →

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