#397F45#397F45

#397F45 is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.6% C 0.114 H 147.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#397F45
RGBrgb(57, 127, 69)
HSLhsl(130, 38%, 36%)
HSVhsv(130, 55%, 50%)
CMYKcmyk(55.1%, 0%, 45.7%, 50.2%)
CIE-LABlab(47.59, -35.35, 24.97)
CIE-LCHlch(47.59, 43.28, 144.77°)
OKLaboklab(53.62% -0.0958 0.0613)
OKLCHoklch(53.62% 0.114 147.4)
XYZxyz(10.3502, 16.4774, 8.2641)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F45 #7F3973
analogous
#507F39 #397F45 #397F68
triadic
#397F45 #45397F #7F4539
tetradic
#397F45 #39507F #7F3973 #7F6839
square
#397F45 #39507F #7F3973 #7F6839
split-complementary
#397F45 #68397F #7F3950
monochromatic
#132B17 #26552E #397F45 #4CA95C #72C080

Accessibility & contrast

On white

4.89
#397F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#397F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F45
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F45#FFFFFF#000000##FFFFFF
##397F451.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807541
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#2B7C71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397f45;
/* rgb */ color: rgb(57, 127, 69);
/* oklch */ color: oklch(53.6% 0.114 147.4);
Tailwind
colors: {
  custom: {
    50: '#75a579',
    500: '#397f45',
    950: '#000000',
  },
}
SCSS
$custom: #397f45;
$custom-light: #75a579;
$custom-dark: #000000;
JSON
{
  "hex": "#397f45",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 130.286,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.11375,
    "h": 147.4
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#397F45
secondary
#A96B9E
accent
#5ABACE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #397F45

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

Preview Lab → · Contrast checker → · Palette generator →

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