#397D2D#397D2D

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

Color values

HEX#397D2D
RGBrgb(57, 125, 45)
HSLhsl(111, 47%, 33%)
HSVhsv(111, 64%, 49%)
CMYKcmyk(54.4%, 0%, 64%, 51%)
CIE-LABlab(46.61, -37.89, 36.25)
CIE-LCHlch(46.61, 52.44, 136.27°)
OKLaboklab(52.71% -0.1036 0.0846)
OKLCHoklch(52.71% 0.134 140.8)
XYZxyz(9.4942, 15.7258, 5.0172)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D2D #712D7D
analogous
#617D2D #397D2D #2D7D49
triadic
#397D2D #2D397D #7D2D39
tetradic
#397D2D #2D617D #712D7D #7D492D
square
#397D2D #2D617D #712D7D #7D492D
split-complementary
#397D2D #492D7D #7D2D61
monochromatic
#10230D #24501D #397D2D #4EAA3D #6EC55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397D2D#FFFFFF#000000##FFFFFF
##397D2D1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#31796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d2d;
/* rgb */ color: rgb(57, 125, 45);
/* oklch */ color: oklch(52.7% 0.134 140.8);
Tailwind
colors: {
  custom: {
    50: '#76a369',
    500: '#397d2d',
    950: '#000000',
  },
}
SCSS
$custom: #397d2d;
$custom-light: #76a369;
$custom-dark: #000000;
JSON
{
  "hex": "#397d2d",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 111,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.13377,
    "h": 140.8
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#397D2D
secondary
#A05AAC
accent
#51D7C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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