#397A42#397A42

#397A42 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.2% C 0.109 H 146.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#397A42
RGBrgb(57, 122, 66)
HSLhsl(128, 36%, 35%)
HSVhsv(128, 53%, 48%)
CMYKcmyk(53.3%, 0%, 45.9%, 52.2%)
CIE-LABlab(45.88, -33.64, 24.43)
CIE-LCHlch(45.88, 41.58, 144.01°)
OKLaboklab(52.2% -0.0913 0.06)
OKLCHoklch(52.2% 0.109 146.7)
XYZxyz(9.6297, 15.1815, 7.5761)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A42 #7A3971
analogous
#507A39 #397A42 #397A63
triadic
#397A42 #42397A #7A4239
tetradic
#397A42 #39507A #7A3971 #7A6339
square
#397A42 #39507A #7A3971 #7A6339
split-complementary
#397A42 #63397A #7A3950
monochromatic
#122715 #26502B #397A42 #4CA459 #71BD7B

Accessibility & contrast

On white

5.20
#397A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#397A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397A42#FFFFFF#000000##FFFFFF
##397A421.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)
#7C703E
Deuteranopia (green-blind)
#736A46
Tritanopia (blue-blind)
#2D776C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a42;
/* rgb */ color: rgb(57, 122, 66);
/* oklch */ color: oklch(52.2% 0.109 146.7);
Tailwind
colors: {
  custom: {
    50: '#75a177',
    500: '#397a42',
    950: '#000000',
  },
}
SCSS
$custom: #397a42;
$custom-light: #75a177;
$custom-dark: #000000;
JSON
{
  "hex": "#397a42",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 128.308,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.1092,
    "h": 146.7
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#397A42
secondary
#A6699D
accent
#5BBDCC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #397A42

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

Preview Lab → · Contrast checker → · Palette generator →

#397A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva