#397B45#397B45

#397B45 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.108 H 147.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#397B45
RGBrgb(57, 123, 69)
HSLhsl(131, 37%, 35%)
HSVhsv(131, 54%, 48%)
CMYKcmyk(53.7%, 0%, 43.9%, 51.8%)
CIE-LABlab(46.26, -33.57, 23.25)
CIE-LCHlch(46.26, 40.84, 145.29°)
OKLaboklab(52.53% -0.0911 0.0574)
OKLCHoklch(52.53% 0.108 147.8)
XYZxyz(9.8439, 15.4646, 8.0953)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B45 #7B396F
analogous
#4E7B39 #397B45 #397B66
triadic
#397B45 #45397B #7B4539
tetradic
#397B45 #394E7B #7B396F #7B6639
square
#397B45 #394E7B #7B396F #7B6639
split-complementary
#397B45 #66397B #7B394E
monochromatic
#122716 #26512E #397B45 #4CA55C #71BD7F

Accessibility & contrast

On white

5.13
#397B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#397B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B45
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B45#FFFFFF#000000##FFFFFF
##397B451.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#736B48
Tritanopia (blue-blind)
#2C796E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397b45;
/* rgb */ color: rgb(57, 123, 69);
/* oklch */ color: oklch(52.5% 0.108 147.8);
Tailwind
colors: {
  custom: {
    50: '#75a279',
    500: '#397b45',
    950: '#000000',
  },
}
SCSS
$custom: #397b45;
$custom-light: #75a279;
$custom-dark: #000000;
JSON
{
  "hex": "#397b45",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 130.909,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.10761,
    "h": 147.8
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#397B45
secondary
#A6699B
accent
#5BB8CD
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #397B45

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

Preview Lab → · Contrast checker → · Palette generator →

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