#397B2F#397B2F

#397B2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.129 H 141.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#397B2F
RGBrgb(57, 123, 47)
HSLhsl(112, 45%, 33%)
HSVhsv(112, 62%, 48%)
CMYKcmyk(53.7%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.96, -36.81, 34.54)
CIE-LCHlch(45.96, 50.48, 136.82°)
OKLaboklab(52.18% -0.1006 0.0811)
OKLCHoklch(52.18% 0.129 141.1)
XYZxyz(9.2830, 15.2403, 5.1413)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B2F #712F7B
analogous
#5F7B2F #397B2F #2F7B4B
triadic
#397B2F #2F397B #7B2F39
tetradic
#397B2F #2F5F7B #712F7B #7B4B2F
square
#397B2F #2F5F7B #712F7B #7B4B2F
split-complementary
#397B2F #4B2F7B #7B2F5F
monochromatic
#10220D #244F1E #397B2F #4EA740 #6EC362

Accessibility & contrast

On white

5.19
#397B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#397B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B2F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B2F#FFFFFF#000000##FFFFFF
##397B2F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#31776B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b2f;
/* rgb */ color: rgb(57, 123, 47);
/* oklch */ color: oklch(52.2% 0.129 141.1);
Tailwind
colors: {
  custom: {
    50: '#76a26a',
    500: '#397b2f',
    950: '#000000',
  },
}
SCSS
$custom: #397b2f;
$custom-light: #76a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#397b2f",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 112.105,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.12924,
    "h": 141.1
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#397B2F
secondary
#A05CAA
accent
#53D4C3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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