#397F3C#397F3C

#397F3C is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.5% C 0.123 H 144.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#397F3C
RGBrgb(57, 127, 60)
HSLhsl(123, 38%, 36%)
HSVhsv(123, 55%, 50%)
CMYKcmyk(55.1%, 0%, 52.8%, 50.2%)
CIE-LABlab(47.46, -36.78, 29.67)
CIE-LCHlch(47.46, 47.25, 141.11°)
OKLaboklab(53.46% -0.0999 0.0715)
OKLCHoklch(53.46% 0.123 144.4)
XYZxyz(10.0918, 16.3740, 6.9028)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F3C #7F397C
analogous
#597F39 #397F3C #397F5F
triadic
#397F3C #3C397F #7F3C39
tetradic
#397F3C #39597F #7F397C #7F5F39
square
#397F3C #39597F #7F397C #7F5F39
split-complementary
#397F3C #5F397F #7F3959
monochromatic
#132B14 #265528 #397F3C #4CA950 #72C076

Accessibility & contrast

On white

4.91
#397F3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#397F3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F3C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F3C#FFFFFF#000000##FFFFFF
##397F3C1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817436
Deuteranopia (green-blind)
#786E41
Tritanopia (blue-blind)
#2E7C70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f3c;
/* rgb */ color: rgb(57, 127, 60);
/* oklch */ color: oklch(53.5% 0.123 144.4);
Tailwind
colors: {
  custom: {
    50: '#76a573',
    500: '#397f3c',
    950: '#000000',
  },
}
SCSS
$custom: #397f3c;
$custom-light: #76a573;
$custom-dark: #000000;
JSON
{
  "hex": "#397f3c",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 60
  },
  "hsl": {
    "h": 122.571,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.12283,
    "h": 144.4
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#397F3C
secondary
#A96BA6
accent
#5AC9CE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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