#397D31#397D31

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

Color values

HEX#397D31
RGBrgb(57, 125, 49)
HSLhsl(114, 44%, 34%)
HSVhsv(114, 61%, 49%)
CMYKcmyk(54.4%, 0%, 60.8%, 51%)
CIE-LABlab(46.66, -37.42, 34.35)
CIE-LCHlch(46.66, 50.80, 137.44°)
OKLaboklab(52.76% -0.1021 0.0809)
OKLCHoklch(52.76% 0.13 141.6)
XYZxyz(9.5749, 15.7581, 5.4422)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D31 #75317D
analogous
#5F7D31 #397D31 #317D4F
triadic
#397D31 #31397D #7D3139
tetradic
#397D31 #315F7D #75317D #7D4F31
square
#397D31 #315F7D #75317D #7D4F31
split-complementary
#397D31 #4F317D #7D315F
monochromatic
#11250F #255120 #397D31 #4DA942 #6FC366

Accessibility & contrast

On white

5.06
#397D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#397D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D31
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D31#FFFFFF#000000##FFFFFF
##397D311.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#31796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397d31;
/* rgb */ color: rgb(57, 125, 49);
/* oklch */ color: oklch(52.8% 0.130 141.6);
Tailwind
colors: {
  custom: {
    50: '#76a36c',
    500: '#397d31',
    950: '#000000',
  },
}
SCSS
$custom: #397d31;
$custom-light: #76a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#397d31",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 113.684,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.1303,
    "h": 141.6
  },
  "luminance": 0.15759
}

Semantic roles & 50–950 ramp

primary
#397D31
secondary
#A260AA
accent
#54D3C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397D31

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

Preview Lab → · Contrast checker → · Palette generator →

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