#397142#397142

#397142 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.7% C 0.095 H 147.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#397142
RGBrgb(57, 113, 66)
HSLhsl(130, 33%, 33%)
HSVhsv(130, 50%, 44%)
CMYKcmyk(49.6%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.87, -29.51, 20.54)
CIE-LCHlch(42.87, 35.95, 145.16°)
OKLaboklab(49.74% -0.0802 0.0509)
OKLCHoklch(49.74% 0.095 147.6)
XYZxyz(8.5753, 13.0728, 7.2246)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397142 #713968
analogous
#4C7139 #397142 #39715E
triadic
#397142 #423971 #714239
tetradic
#397142 #394C71 #713968 #715E39
square
#397142 #394C71 #713968 #715E39
split-complementary
#397142 #5E3971 #71394C
monochromatic
#102012 #24482A #397142 #4E9A5A #6EB67A

Accessibility & contrast

On white

5.81
#397142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#397142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397142
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397142#FFFFFF#000000##FFFFFF
##3971421.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72693F
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#2F6F65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397142;
/* rgb */ color: rgb(57, 113, 66);
/* oklch */ color: oklch(49.7% 0.095 147.6);
Tailwind
colors: {
  custom: {
    50: '#739a77',
    500: '#397142',
    950: '#000000',
  },
}
SCSS
$custom: #397142;
$custom-light: #739a77;
$custom-dark: #000000;
JSON
{
  "hex": "#397142",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 129.643,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.09497,
    "h": 147.6
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#397142
secondary
#A06696
accent
#5FB8C9
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #397142

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

Preview Lab → · Contrast checker → · Palette generator →

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