#397956#397956

#397956 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.4% C 0.087 H 157.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#397956
RGBrgb(57, 121, 86)
HSLhsl(147, 36%, 35%)
HSVhsv(147, 53%, 47%)
CMYKcmyk(52.9%, 0%, 28.9%, 52.5%)
CIE-LABlab(45.93, -29.30, 13.06)
CIE-LCHlch(45.93, 32.08, 155.98°)
OKLaboklab(52.36% -0.0803 0.0332)
OKLCHoklch(52.36% 0.087 157.5)
XYZxyz(10.2036, 15.2156, 11.2015)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397956 #79395C
analogous
#3C7939 #397956 #397976
triadic
#397956 #563979 #795639
tetradic
#397956 #393C79 #79395C #797639
square
#397956 #393C79 #79395C #797639
split-complementary
#397956 #763979 #79393C
monochromatic
#12261B #254F38 #397956 #4DA374 #71BC93

Accessibility & contrast

On white

5.19
#397956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#397956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397956
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397956#FFFFFF#000000##FFFFFF
##3979561.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787154
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#277870
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397956;
/* rgb */ color: rgb(57, 121, 86);
/* oklch */ color: oklch(52.4% 0.087 157.5);
Tailwind
colors: {
  custom: {
    50: '#74a085',
    500: '#397956',
    950: '#000000',
  },
}
SCSS
$custom: #397956;
$custom-light: #74a085;
$custom-dark: #000000;
JSON
{
  "hex": "#397956",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 86
  },
  "hsl": {
    "h": 147.188,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.08688,
    "h": 157.5
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#397956
secondary
#A5698A
accent
#5C99CC
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #397956

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

Preview Lab → · Contrast checker → · Palette generator →

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