#397D37#397D37

#397D37 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.125 H 143.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397D37
RGBrgb(57, 125, 55)
HSLhsl(118, 39%, 35%)
HSVhsv(118, 56%, 49%)
CMYKcmyk(54.4%, 0%, 56%, 51%)
CIE-LABlab(46.73, -36.64, 31.40)
CIE-LCHlch(46.73, 48.25, 139.40°)
OKLaboklab(52.84% -0.0997 0.075)
OKLCHoklch(52.84% 0.125 143.1)
XYZxyz(9.7100, 15.8121, 6.1541)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D37 #7B377D
analogous
#5C7D37 #397D37 #377D58
triadic
#397D37 #37397D #7D3739
tetradic
#397D37 #375C7D #7B377D #7D5837
square
#397D37 #375C7D #7B377D #7D5837
split-complementary
#397D37 #58377D #7D375C
monochromatic
#122812 #265224 #397D37 #4CA74A #71C06F

Accessibility & contrast

On white

5.04
#397D37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#397D37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D37
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D37#FFFFFF#000000##FFFFFF
##397D371.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807231
Deuteranopia (green-blind)
#776C3C
Tritanopia (blue-blind)
#2F7A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397d37;
/* rgb */ color: rgb(57, 125, 55);
/* oklch */ color: oklch(52.8% 0.125 143.1);
Tailwind
colors: {
  custom: {
    50: '#76a370',
    500: '#397d37',
    950: '#000000',
  },
}
SCSS
$custom: #397d37;
$custom-light: #76a370;
$custom-dark: #000000;
JSON
{
  "hex": "#397d37",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 118.286,
    "s": 38.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.12474,
    "h": 143.1
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#397D37
secondary
#A667A8
accent
#59CFCB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397D37

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

Preview Lab → · Contrast checker → · Palette generator →

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