#397841#397841

#397841 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.6% C 0.107 H 146.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#397841
RGBrgb(57, 120, 65)
HSLhsl(128, 36%, 35%)
HSVhsv(128, 53%, 47%)
CMYKcmyk(52.5%, 0%, 45.8%, 52.9%)
CIE-LABlab(45.20, -32.91, 24.11)
CIE-LCHlch(45.20, 40.80, 143.77°)
OKLaboklab(51.63% -0.0893 0.0592)
OKLCHoklch(51.63% 0.107 146.5)
XYZxyz(9.3574, 14.6837, 7.3411)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397841 #783970
analogous
#517839 #397841 #397861
triadic
#397841 #413978 #784139
tetradic
#397841 #395178 #783970 #786139
square
#397841 #395178 #783970 #786139
split-complementary
#397841 #613978 #783951
monochromatic
#122514 #254F2B #397841 #4DA157 #70BB7A

Accessibility & contrast

On white

5.33
#397841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#397841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397841
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397841#FFFFFF#000000##FFFFFF
##3978411.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#2E756B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397841;
/* rgb */ color: rgb(57, 120, 65);
/* oklch */ color: oklch(51.6% 0.107 146.5);
Tailwind
colors: {
  custom: {
    50: '#749f76',
    500: '#397841',
    950: '#000000',
  },
}
SCSS
$custom: #397841;
$custom-light: #749f76;
$custom-dark: #000000;
JSON
{
  "hex": "#397841",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 127.619,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.10714,
    "h": 146.5
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#397841
secondary
#A4689D
accent
#5CBDCC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090E08
muted
#7B7E7B

Preview Lab

Preview with #397841

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

Preview Lab → · Contrast checker → · Palette generator →

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