#397A40#397A40

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

Color values

HEX#397A40
RGBrgb(57, 122, 64)
HSLhsl(126, 36%, 35%)
HSVhsv(126, 53%, 48%)
CMYKcmyk(53.3%, 0%, 47.5%, 52.2%)
CIE-LABlab(45.85, -33.97, 25.50)
CIE-LCHlch(45.85, 42.48, 143.11°)
OKLaboklab(52.16% -0.0922 0.0623)
OKLCHoklch(52.16% 0.111 145.9)
XYZxyz(9.5717, 15.1583, 7.2710)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A40 #7A3973
analogous
#527A39 #397A40 #397A61
triadic
#397A40 #40397A #7A4039
tetradic
#397A40 #39527A #7A3973 #7A6139
square
#397A40 #39527A #7A3973 #7A6139
split-complementary
#397A40 #61397A #7A3952
monochromatic
#122714 #26502A #397A40 #4CA456 #71BD79

Accessibility & contrast

On white

5.21
#397A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#397A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A40
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A40#FFFFFF#000000##FFFFFF
##397A401.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703B
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#2E776C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a40;
/* rgb */ color: rgb(57, 122, 64);
/* oklch */ color: oklch(52.2% 0.111 145.9);
Tailwind
colors: {
  custom: {
    50: '#75a176',
    500: '#397a40',
    950: '#000000',
  },
}
SCSS
$custom: #397a40;
$custom-light: #75a176;
$custom-dark: #000000;
JSON
{
  "hex": "#397a40",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 126.462,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.11127,
    "h": 145.9
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#397A40
secondary
#A6699F
accent
#5BC0CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #397A40

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

Preview Lab → · Contrast checker → · Palette generator →

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