#397151#397151

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

Color values

HEX#397151
RGBrgb(57, 113, 81)
HSLhsl(146, 33%, 33%)
HSVhsv(146, 50%, 44%)
CMYKcmyk(49.6%, 0%, 28.3%, 55.7%)
CIE-LABlab(43.17, -26.51, 12.19)
CIE-LCHlch(43.17, 29.18, 155.31°)
OKLaboklab(50.08% -0.0727 0.031)
OKLCHoklch(50.08% 0.079 156.9)
XYZxyz(9.0770, 13.2735, 9.8667)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397151 #713959
analogous
#3D7139 #397151 #39716D
triadic
#397151 #513971 #715139
tetradic
#397151 #393D71 #713959 #716D39
square
#397151 #393D71 #713959 #716D39
split-complementary
#397151 #6D3971 #71393D
monochromatic
#102017 #244834 #397151 #4E9A6E #6EB68D

Accessibility & contrast

On white

5.75
#397151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#397151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397151
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397151#FFFFFF#000000##FFFFFF
##3971511.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#686453
Tritanopia (blue-blind)
#2B7068
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397151;
/* rgb */ color: rgb(57, 113, 81);
/* oklch */ color: oklch(50.1% 0.079 156.9);
Tailwind
colors: {
  custom: {
    50: '#739a82',
    500: '#397151',
    950: '#000000',
  },
}
SCSS
$custom: #397151;
$custom-light: #739a82;
$custom-dark: #000000;
JSON
{
  "hex": "#397151",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 145.714,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.07906,
    "h": 156.9
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#397151
secondary
#A06687
accent
#5F9BC9
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #397151

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

Preview Lab → · Contrast checker → · Palette generator →

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