#397E2A#397E2A

#397E2A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.138 H 140.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#397E2A
RGBrgb(57, 126, 42)
HSLhsl(109, 50%, 33%)
HSVhsv(109, 67%, 49%)
CMYKcmyk(54.8%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.92, -38.63, 38.00)
CIE-LCHlch(46.92, 54.18, 135.47°)
OKLaboklab(52.95% -0.1058 0.0879)
OKLCHoklch(52.95% 0.138 140.3)
XYZxyz(9.5657, 15.9580, 4.7662)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E2A #6F2A7E
analogous
#637E2A #397E2A #2A7E45
triadic
#397E2A #2A397E #7E2A39
tetradic
#397E2A #2A637E #6F2A7E #7E452A
square
#397E2A #2A637E #6F2A7E #7E452A
split-complementary
#397E2A #452A7E #7E2A63
monochromatic
#0F220B #24501B #397E2A #4EAC39 #6EC85A

Accessibility & contrast

On white

5.01
#397E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#397E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E2A#FFFFFF#000000##FFFFFF
##397E2A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397e2a;
/* rgb */ color: rgb(57, 126, 42);
/* oklch */ color: oklch(52.9% 0.138 140.3);
Tailwind
colors: {
  custom: {
    50: '#76a467',
    500: '#397e2a',
    950: '#000000',
  },
}
SCSS
$custom: #397e2a;
$custom-light: #76a467;
$custom-dark: #000000;
JSON
{
  "hex": "#397e2a",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 109.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.13761,
    "h": 140.3
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#397E2A
secondary
#9E56AE
accent
#4EDAC1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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