#397957#397957

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

Color values

HEX#397957
RGBrgb(57, 121, 87)
HSLhsl(148, 36%, 35%)
HSVhsv(148, 53%, 47%)
CMYKcmyk(52.9%, 0%, 28.1%, 52.5%)
CIE-LABlab(45.95, -29.08, 12.51)
CIE-LCHlch(45.95, 31.65, 156.73°)
OKLaboklab(52.38% -0.0798 0.0319)
OKLCHoklch(52.38% 0.086 158.2)
XYZxyz(10.2442, 15.2319, 11.4152)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397957 #79395B
analogous
#3B7939 #397957 #397977
triadic
#397957 #573979 #795739
tetradic
#397957 #393B79 #79395B #797739
square
#397957 #393B79 #79395B #797739
split-complementary
#397957 #773979 #79393B
monochromatic
#12261B #254F39 #397957 #4DA375 #71BC94

Accessibility & contrast

On white

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

On black

4.05
#397957 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397957#FFFFFF#000000##FFFFFF
##3979571.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787155
Deuteranopia (green-blind)
#6F6A59
Tritanopia (blue-blind)
#267870
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397957;
/* rgb */ color: rgb(57, 121, 87);
/* oklch */ color: oklch(52.4% 0.086 158.2);
Tailwind
colors: {
  custom: {
    50: '#74a086',
    500: '#397957',
    950: '#000000',
  },
}
SCSS
$custom: #397957;
$custom-light: #74a086;
$custom-dark: #000000;
JSON
{
  "hex": "#397957",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 87
  },
  "hsl": {
    "h": 148.125,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.0859,
    "h": 158.2
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#397957
secondary
#A56989
accent
#5C97CC
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #397957

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

Preview Lab → · Contrast checker → · Palette generator →

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