#397A2C#397A2C

#397A2C is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.9% C 0.130 H 140.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#397A2C
RGBrgb(57, 122, 44)
HSLhsl(110, 47%, 33%)
HSVhsv(110, 64%, 48%)
CMYKcmyk(53.3%, 0%, 63.9%, 52.2%)
CIE-LABlab(45.59, -36.74, 35.58)
CIE-LCHlch(45.59, 51.15, 135.92°)
OKLaboklab(51.87% -0.1006 0.083)
OKLCHoklch(51.87% 0.13 140.5)
XYZxyz(9.1011, 14.9701, 4.7923)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A2C #6D2C7A
analogous
#607A2C #397A2C #2C7A46
triadic
#397A2C #2C397A #7A2C39
tetradic
#397A2C #2C607A #6D2C7A #7A462C
square
#397A2C #2C607A #6D2C7A #7A462C
split-complementary
#397A2C #462C7A #7A2C60
monochromatic
#0F200C #244D1C #397A2C #4EA73C #6DC45C

Accessibility & contrast

On white

5.26
#397A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#397A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A2C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A2C#FFFFFF#000000##FFFFFF
##397A2C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#327669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a2c;
/* rgb */ color: rgb(57, 122, 44);
/* oklch */ color: oklch(51.9% 0.130 140.5);
Tailwind
colors: {
  custom: {
    50: '#76a168',
    500: '#397a2c',
    950: '#000000',
  },
}
SCSS
$custom: #397a2c;
$custom-light: #76a168;
$custom-dark: #000000;
JSON
{
  "hex": "#397a2c",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 110,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.13043,
    "h": 140.5
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#397A2C
secondary
#9D57AA
accent
#51D7C0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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