#397D2B#397D2B

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

Color values

HEX#397D2B
RGBrgb(57, 125, 43)
HSLhsl(110, 49%, 33%)
HSVhsv(110, 66%, 49%)
CMYKcmyk(54.4%, 0%, 65.6%, 51%)
CIE-LABlab(46.59, -38.11, 37.17)
CIE-LCHlch(46.59, 53.24, 135.71°)
OKLaboklab(52.68% -0.1044 0.0863)
OKLCHoklch(52.68% 0.135 140.4)
XYZxyz(9.4566, 15.7108, 4.8192)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D2B #6F2B7D
analogous
#627D2B #397D2B #2B7D46
triadic
#397D2B #2B397D #7D2B39
tetradic
#397D2B #2B627D #6F2B7D #7D462B
square
#397D2B #2B627D #6F2B7D #7D462B
split-complementary
#397D2B #462B7D #7D2B62
monochromatic
#0F220C #244F1B #397D2B #4EAB3B #6EC75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397D2B#FFFFFF#000000##FFFFFF
##397D2B1.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)
#807221
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#32796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d2b;
/* rgb */ color: rgb(57, 125, 43);
/* oklch */ color: oklch(52.7% 0.135 140.4);
Tailwind
colors: {
  custom: {
    50: '#76a368',
    500: '#397d2b',
    950: '#000000',
  },
}
SCSS
$custom: #397d2b;
$custom-light: #76a368;
$custom-dark: #000000;
JSON
{
  "hex": "#397d2b",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 109.756,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.13543,
    "h": 140.4
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#397D2B
secondary
#9E57AD
accent
#4FD8C1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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