#397E2D#397E2D

#397E2D is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.135 H 140.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#397E2D
RGBrgb(57, 126, 45)
HSLhsl(111, 47%, 34%)
HSVhsv(111, 64%, 49%)
CMYKcmyk(54.8%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.95, -38.30, 36.63)
CIE-LCHlch(46.95, 53.00, 136.28°)
OKLaboklab(52.98% -0.1048 0.0854)
OKLCHoklch(52.98% 0.135 140.8)
XYZxyz(9.6214, 15.9803, 5.0596)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E2D #722D7E
analogous
#617E2D #397E2D #2D7E49
triadic
#397E2D #2D397E #7E2D39
tetradic
#397E2D #2D617E #722D7E #7E492D
square
#397E2D #2D617E #722D7E #7E492D
split-complementary
#397E2D #492D7E #7E2D61
monochromatic
#10240D #25511D #397E2D #4DAB3D #6FC65F

Accessibility & contrast

On white

5.00
#397E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#397E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E2D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E2D#FFFFFF#000000##FFFFFF
##397E2D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#317A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e2d;
/* rgb */ color: rgb(57, 126, 45);
/* oklch */ color: oklch(53.0% 0.135 140.8);
Tailwind
colors: {
  custom: {
    50: '#76a469',
    500: '#397e2d',
    950: '#000000',
  },
}
SCSS
$custom: #397e2d;
$custom-light: #76a469;
$custom-dark: #000000;
JSON
{
  "hex": "#397e2d",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 111.111,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.13515,
    "h": 140.8
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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