#397D2A#397D2A

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

Color values

HEX#397D2A
RGBrgb(57, 125, 42)
HSLhsl(109, 50%, 33%)
HSVhsv(109, 66%, 49%)
CMYKcmyk(54.4%, 0%, 66.4%, 51%)
CIE-LABlab(46.58, -38.22, 37.63)
CIE-LCHlch(46.58, 53.63, 135.45°)
OKLaboklab(52.67% -0.1047 0.0872)
OKLCHoklch(52.67% 0.136 140.2)
XYZxyz(9.4385, 15.7035, 4.7238)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D2A #6E2A7D
analogous
#627D2A #397D2A #2A7D45
triadic
#397D2A #2A397D #7D2A39
tetradic
#397D2A #2A627D #6E2A7D #7D452A
square
#397D2A #2A627D #6E2A7D #7D452A
split-complementary
#397D2A #452A7D #7D2A62
monochromatic
#0F210B #244F1B #397D2A #4EAB39 #6EC85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397D2A#FFFFFF#000000##FFFFFF
##397D2A1.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)
#807220
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#32796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d2a;
/* rgb */ color: rgb(57, 125, 42);
/* oklch */ color: oklch(52.7% 0.136 140.2);
Tailwind
colors: {
  custom: {
    50: '#76a367',
    500: '#397d2a',
    950: '#000000',
  },
}
SCSS
$custom: #397d2a;
$custom-light: #76a367;
$custom-dark: #000000;
JSON
{
  "hex": "#397d2a",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 109.157,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.13625,
    "h": 140.2
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#397D2A
secondary
#9D56AD
accent
#4FD9C0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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