#397147#397147

#397147 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.8% C 0.090 H 150.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#397147
RGBrgb(57, 113, 71)
HSLhsl(135, 33%, 33%)
HSVhsv(135, 50%, 44%)
CMYKcmyk(49.6%, 0%, 37.2%, 55.7%)
CIE-LABlab(42.97, -28.57, 17.77)
CIE-LCHlch(42.97, 33.65, 148.12°)
OKLaboklab(49.84% -0.0777 0.0445)
OKLCHoklch(49.84% 0.09 150.2)
XYZxyz(8.7292, 13.1344, 8.0352)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397147 #713963
analogous
#477139 #397147 #397163
triadic
#397147 #473971 #714739
tetradic
#397147 #394771 #713963 #716339
square
#397147 #394771 #713963 #716339
split-complementary
#397147 #633971 #713947
monochromatic
#102014 #24482D #397147 #4E9A61 #6EB680

Accessibility & contrast

On white

5.79
#397147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#397147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397147
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397147#FFFFFF#000000##FFFFFF
##3971471.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726944
Deuteranopia (green-blind)
#6A634A
Tritanopia (blue-blind)
#2E6F66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397147;
/* rgb */ color: rgb(57, 113, 71);
/* oklch */ color: oklch(49.8% 0.090 150.2);
Tailwind
colors: {
  custom: {
    50: '#739a7a',
    500: '#397147',
    950: '#000000',
  },
}
SCSS
$custom: #397147;
$custom-light: #739a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#397147",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 71
  },
  "hsl": {
    "h": 135,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.08956,
    "h": 150.2
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#397147
secondary
#A06691
accent
#5FAEC9
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #397147

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

Preview Lab → · Contrast checker → · Palette generator →

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