#397A45#397A45

#397A45 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.3% C 0.106 H 147.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#397A45
RGBrgb(57, 122, 69)
HSLhsl(131, 36%, 35%)
HSVhsv(131, 53%, 48%)
CMYKcmyk(53.3%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.93, -33.12, 22.82)
CIE-LCHlch(45.93, 40.22, 145.43°)
OKLaboklab(52.25% -0.0898 0.0564)
OKLCHoklch(52.25% 0.106 147.9)
XYZxyz(9.7204, 15.2178, 8.0542)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A45 #7A396E
analogous
#4D7A39 #397A45 #397A66
triadic
#397A45 #45397A #7A4539
tetradic
#397A45 #394D7A #7A396E #7A6639
square
#397A45 #394D7A #7A396E #7A6639
split-complementary
#397A45 #66397A #7A394D
monochromatic
#122716 #26502D #397A45 #4CA45D #71BD7F

Accessibility & contrast

On white

5.19
#397A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A45#FFFFFF#000000##FFFFFF
##397A451.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7141
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#2D786D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397a45;
/* rgb */ color: rgb(57, 122, 69);
/* oklch */ color: oklch(52.3% 0.106 147.9);
Tailwind
colors: {
  custom: {
    50: '#75a179',
    500: '#397a45',
    950: '#000000',
  },
}
SCSS
$custom: #397a45;
$custom-light: #75a179;
$custom-dark: #000000;
JSON
{
  "hex": "#397a45",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 131.077,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.10606,
    "h": 147.9
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#397A45
secondary
#A6699B
accent
#5BB7CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #397A45

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

Preview Lab → · Contrast checker → · Palette generator →

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