#397954#397954

#397954 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.3% C 0.089 H 156.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#397954
RGBrgb(57, 121, 84)
HSLhsl(145, 36%, 35%)
HSVhsv(145, 53%, 47%)
CMYKcmyk(52.9%, 0%, 30.6%, 52.5%)
CIE-LABlab(45.89, -29.73, 14.17)
CIE-LCHlch(45.89, 32.93, 154.52°)
OKLaboklab(52.31% -0.0813 0.036)
OKLCHoklch(52.31% 0.089 156.1)
XYZxyz(10.1242, 15.1839, 10.7831)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397954 #79395E
analogous
#3E7939 #397954 #397974
triadic
#397954 #543979 #795439
tetradic
#397954 #393E79 #79395E #797439
square
#397954 #393E79 #79395E #797439
split-complementary
#397954 #743979 #79393E
monochromatic
#12261A #254F37 #397954 #4DA371 #71BC90

Accessibility & contrast

On white

5.20
#397954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397954
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397954#FFFFFF#000000##FFFFFF
##3979541.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787152
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#28786F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397954;
/* rgb */ color: rgb(57, 121, 84);
/* oklch */ color: oklch(52.3% 0.089 156.1);
Tailwind
colors: {
  custom: {
    50: '#74a084',
    500: '#397954',
    950: '#000000',
  },
}
SCSS
$custom: #397954;
$custom-light: #74a084;
$custom-dark: #000000;
JSON
{
  "hex": "#397954",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 145.313,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.08887,
    "h": 156.1
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#397954
secondary
#A5698C
accent
#5C9DCC
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #397954

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

Preview Lab → · Contrast checker → · Palette generator →

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