#397152#397152

#397152 is a mid, moderate green. Relative luminance 0.133; OKLCH L 50.1% C 0.078 H 157.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#397152
RGBrgb(57, 113, 82)
HSLhsl(147, 33%, 33%)
HSVhsv(147, 50%, 44%)
CMYKcmyk(49.6%, 0%, 27.4%, 55.7%)
CIE-LABlab(43.19, -26.29, 11.63)
CIE-LCHlch(43.19, 28.75, 156.14°)
OKLaboklab(50.1% -0.0722 0.0297)
OKLCHoklch(50.1% 0.078 157.7)
XYZxyz(9.1148, 13.2886, 10.0657)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397152 #713958
analogous
#3C7139 #397152 #39716E
triadic
#397152 #523971 #715239
tetradic
#397152 #393C71 #713958 #716E39
square
#397152 #393C71 #713958 #716E39
split-complementary
#397152 #6E3971 #71393C
monochromatic
#102017 #244834 #397152 #4E9A70 #6EB68E

Accessibility & contrast

On white

5.74
#397152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#397152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397152
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397152#FFFFFF#000000##FFFFFF
##3971521.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A50
Deuteranopia (green-blind)
#686454
Tritanopia (blue-blind)
#2A7069
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397152;
/* rgb */ color: rgb(57, 113, 82);
/* oklch */ color: oklch(50.1% 0.078 157.7);
Tailwind
colors: {
  custom: {
    50: '#739a82',
    500: '#397152',
    950: '#000000',
  },
}
SCSS
$custom: #397152;
$custom-light: #739a82;
$custom-dark: #000000;
JSON
{
  "hex": "#397152",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 146.786,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.07805,
    "h": 157.7
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#397152
secondary
#A06686
accent
#5F9AC9
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #397152

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

Preview Lab → · Contrast checker → · Palette generator →

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