#397941#397941

#397941 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.109 H 146.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#397941
RGBrgb(57, 121, 65)
HSLhsl(128, 36%, 35%)
HSVhsv(128, 53%, 47%)
CMYKcmyk(52.9%, 0%, 46.3%, 52.5%)
CIE-LABlab(45.53, -33.36, 24.54)
CIE-LCHlch(45.53, 41.41, 143.66°)
OKLaboklab(51.9% -0.0905 0.0602)
OKLCHoklch(51.9% 0.109 146.4)
XYZxyz(9.4783, 14.9255, 7.3814)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397941 #793971
analogous
#517939 #397941 #397961
triadic
#397941 #413979 #794139
tetradic
#397941 #395179 #793971 #796139
square
#397941 #395179 #793971 #796139
split-complementary
#397941 #613979 #793951
monochromatic
#122614 #254F2B #397941 #4DA357 #71BC7A

Accessibility & contrast

On white

5.27
#397941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#397941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397941
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397941#FFFFFF#000000##FFFFFF
##3979411.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3D
Deuteranopia (green-blind)
#726945
Tritanopia (blue-blind)
#2E766B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397941;
/* rgb */ color: rgb(57, 121, 65);
/* oklch */ color: oklch(51.9% 0.109 146.4);
Tailwind
colors: {
  custom: {
    50: '#75a076',
    500: '#397941',
    950: '#000000',
  },
}
SCSS
$custom: #397941;
$custom-light: #75a076;
$custom-dark: #000000;
JSON
{
  "hex": "#397941",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 127.5,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.10869,
    "h": 146.4
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#397941
secondary
#A5699E
accent
#5CBECC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #397941

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

Preview Lab → · Contrast checker → · Palette generator →

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