#397947#397947

#397947 is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.102 H 148.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#397947
RGBrgb(57, 121, 71)
HSLhsl(133, 36%, 35%)
HSVhsv(133, 53%, 47%)
CMYKcmyk(52.9%, 0%, 41.3%, 52.5%)
CIE-LABlab(45.63, -32.31, 21.31)
CIE-LCHlch(45.63, 38.70, 146.60°)
OKLaboklab(52.02% -0.0877 0.0529)
OKLCHoklch(52.02% 0.102 148.9)
XYZxyz(9.6614, 14.9988, 8.3459)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397947 #79396B
analogous
#4B7939 #397947 #397967
triadic
#397947 #473979 #794739
tetradic
#397947 #394B79 #79396B #796739
square
#397947 #394B79 #79396B #796739
split-complementary
#397947 #673979 #79394B
monochromatic
#122616 #254F2F #397947 #4DA35F #71BC81

Accessibility & contrast

On white

5.25
#397947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#397947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397947
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397947#FFFFFF#000000##FFFFFF
##3979471.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7043
Deuteranopia (green-blind)
#716A4A
Tritanopia (blue-blind)
#2C776D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397947;
/* rgb */ color: rgb(57, 121, 71);
/* oklch */ color: oklch(52.0% 0.102 148.9);
Tailwind
colors: {
  custom: {
    50: '#74a07b',
    500: '#397947',
    950: '#000000',
  },
}
SCSS
$custom: #397947;
$custom-light: #74a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#397947",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 133.125,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.10238,
    "h": 148.9
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#397947
secondary
#A56998
accent
#5CB3CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #397947

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

Preview Lab → · Contrast checker → · Palette generator →

#397947 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva