#397B2A#397B2A

#397B2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.134 H 140.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#397B2A
RGBrgb(57, 123, 42)
HSLhsl(109, 49%, 32%)
HSVhsv(109, 66%, 48%)
CMYKcmyk(53.7%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.91, -37.38, 36.88)
CIE-LCHlch(45.91, 52.51, 135.39°)
OKLaboklab(52.12% -0.1025 0.0856)
OKLCHoklch(52.12% 0.134 140.1)
XYZxyz(9.1878, 15.2022, 4.6402)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B2A #6C2A7B
analogous
#627B2A #397B2A #2A7B44
triadic
#397B2A #2A397B #7B2A39
tetradic
#397B2A #2A627B #6C2A7B #7B442A
square
#397B2A #2A627B #6C2A7B #7B442A
split-complementary
#397B2A #442A7B #7B2A62
monochromatic
#0F200B #244D1A #397B2A #4EA93A #6DC659

Accessibility & contrast

On white

5.20
#397B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#397B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B2A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B2A#FFFFFF#000000##FFFFFF
##397B2A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#32776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b2a;
/* rgb */ color: rgb(57, 123, 42);
/* oklch */ color: oklch(52.1% 0.134 140.1);
Tailwind
colors: {
  custom: {
    50: '#76a267',
    500: '#397b2a',
    950: '#000000',
  },
}
SCSS
$custom: #397b2a;
$custom-light: #76a267;
$custom-dark: #000000;
JSON
{
  "hex": "#397b2a",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 108.889,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.13351,
    "h": 140.1
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#397B2A
secondary
#9C55AC
accent
#4FD9BF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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