#397948#397948

#397948 is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.101 H 149.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#397948
RGBrgb(57, 121, 72)
HSLhsl(134, 36%, 35%)
HSVhsv(134, 53%, 47%)
CMYKcmyk(52.9%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.65, -32.13, 20.76)
CIE-LCHlch(45.65, 38.25, 147.13°)
OKLaboklab(52.04% -0.0872 0.0516)
OKLCHoklch(52.04% 0.101 149.4)
XYZxyz(9.6938, 15.0117, 8.5164)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397948 #79396A
analogous
#4A7939 #397948 #397968
triadic
#397948 #483979 #794839
tetradic
#397948 #394A79 #79396A #796839
square
#397948 #394A79 #79396A #796839
split-complementary
#397948 #683979 #79394A
monochromatic
#122616 #254F2F #397948 #4DA361 #71BC82

Accessibility & contrast

On white

5.25
#397948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#397948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397948
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397948#FFFFFF#000000##FFFFFF
##3979481.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7045
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#2C776D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397948;
/* rgb */ color: rgb(57, 121, 72);
/* oklch */ color: oklch(52.0% 0.101 149.4);
Tailwind
colors: {
  custom: {
    50: '#74a07b',
    500: '#397948',
    950: '#000000',
  },
}
SCSS
$custom: #397948;
$custom-light: #74a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#397948",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 134.063,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.10133,
    "h": 149.4
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#397948
secondary
#A56997
accent
#5CB2CC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #397948

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

Preview Lab → · Contrast checker → · Palette generator →

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