#397C40#397C40

#397C40 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.114 H 145.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397C40
RGBrgb(57, 124, 64)
HSLhsl(126, 37%, 35%)
HSVhsv(126, 54%, 49%)
CMYKcmyk(54%, 0%, 48.4%, 51.4%)
CIE-LABlab(46.52, -34.86, 26.34)
CIE-LCHlch(46.52, 43.69, 142.92°)
OKLaboklab(52.71% -0.0946 0.0642)
OKLCHoklch(52.71% 0.114 145.8)
XYZxyz(9.8198, 15.6545, 7.3537)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C40 #7C3975
analogous
#537C39 #397C40 #397C61
triadic
#397C40 #40397C #7C4039
tetradic
#397C40 #39537C #7C3975 #7C6139
square
#397C40 #39537C #7C3975 #7C6139
split-complementary
#397C40 #61397C #7C3953
monochromatic
#122815 #26522A #397C40 #4CA656 #71BE79

Accessibility & contrast

On white

5.08
#397C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C40
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C40#FFFFFF#000000##FFFFFF
##397C401.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#2D796E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397c40;
/* rgb */ color: rgb(57, 124, 64);
/* oklch */ color: oklch(52.7% 0.114 145.8);
Tailwind
colors: {
  custom: {
    50: '#75a276',
    500: '#397c40',
    950: '#000000',
  },
}
SCSS
$custom: #397c40;
$custom-light: #75a276;
$custom-dark: #000000;
JSON
{
  "hex": "#397c40",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 126.269,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.11433,
    "h": 145.8
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#397C40
secondary
#A76AA1
accent
#5BC1CD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397C40

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

Preview Lab → · Contrast checker → · Palette generator →

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