#397B40#397B40

#397B40 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.113 H 145.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#397B40
RGBrgb(57, 123, 64)
HSLhsl(126, 37%, 35%)
HSVhsv(126, 54%, 48%)
CMYKcmyk(53.7%, 0%, 48%, 51.8%)
CIE-LABlab(46.18, -34.42, 25.92)
CIE-LCHlch(46.18, 43.09, 143.01°)
OKLaboklab(52.43% -0.0934 0.0633)
OKLCHoklch(52.43% 0.113 145.9)
XYZxyz(9.6952, 15.4052, 7.3121)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B40 #7B3974
analogous
#537B39 #397B40 #397B61
triadic
#397B40 #40397B #7B4039
tetradic
#397B40 #39537B #7B3974 #7B6139
square
#397B40 #39537B #7B3974 #7B6139
split-complementary
#397B40 #61397B #7B3953
monochromatic
#122714 #26512A #397B40 #4CA556 #71BD79

Accessibility & contrast

On white

5.15
#397B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#397B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B40
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B40#FFFFFF#000000##FFFFFF
##397B401.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#2E786D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b40;
/* rgb */ color: rgb(57, 123, 64);
/* oklch */ color: oklch(52.4% 0.113 145.9);
Tailwind
colors: {
  custom: {
    50: '#75a276',
    500: '#397b40',
    950: '#000000',
  },
}
SCSS
$custom: #397b40;
$custom-light: #75a276;
$custom-dark: #000000;
JSON
{
  "hex": "#397b40",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 126.364,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.1128,
    "h": 145.9
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#397B40
secondary
#A669A0
accent
#5BC1CD
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397B40

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

Preview Lab → · Contrast checker → · Palette generator →

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