#397A2A#397A2A

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

Color values

HEX#397A2A
RGBrgb(57, 122, 42)
HSLhsl(109, 49%, 32%)
HSVhsv(109, 66%, 48%)
CMYKcmyk(53.3%, 0%, 65.6%, 52.2%)
CIE-LABlab(45.57, -36.96, 36.51)
CIE-LCHlch(45.57, 51.95, 135.35°)
OKLaboklab(51.84% -0.1013 0.0848)
OKLCHoklch(51.84% 0.132 140.1)
XYZxyz(9.0644, 14.9554, 4.5991)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A2A #6B2A7A
analogous
#617A2A #397A2A #2A7A43
triadic
#397A2A #2A397A #7A2A39
tetradic
#397A2A #2A617A #6B2A7A #7A432A
square
#397A2A #2A617A #6B2A7A #7A432A
split-complementary
#397A2A #432A7A #7A2A61
monochromatic
#0E1F0B #244C1A #397A2A #4EA83A #6DC659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A2A#FFFFFF#000000##FFFFFF
##397A2A1.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)
#7D6F21
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#327669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a2a;
/* rgb */ color: rgb(57, 122, 42);
/* oklch */ color: oklch(51.8% 0.132 140.1);
Tailwind
colors: {
  custom: {
    50: '#76a167',
    500: '#397a2a',
    950: '#000000',
  },
}
SCSS
$custom: #397a2a;
$custom-light: #76a167;
$custom-dark: #000000;
JSON
{
  "hex": "#397a2a",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 108.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.13213,
    "h": 140.1
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#397A2A
secondary
#9B55AB
accent
#4FD8BF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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