#397F2B#397F2B

#397F2B is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.138 H 140.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#397F2B
RGBrgb(57, 127, 43)
HSLhsl(110, 49%, 33%)
HSVhsv(110, 66%, 50%)
CMYKcmyk(55.1%, 0%, 66.1%, 50.2%)
CIE-LABlab(47.26, -38.94, 37.92)
CIE-LCHlch(47.26, 54.35, 135.76°)
OKLaboklab(53.24% -0.1066 0.0879)
OKLCHoklch(53.24% 0.138 140.5)
XYZxyz(9.7123, 16.2222, 4.9044)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F2B #712B7F
analogous
#637F2B #397F2B #2B7F47
triadic
#397F2B #2B397F #7F2B39
tetradic
#397F2B #2B637F #712B7F #7F472B
square
#397F2B #2B637F #712B7F #7F472B
split-complementary
#397F2B #472B7F #7F2B63
monochromatic
#10240C #24511C #397F2B #4EAD3A #6EC85C

Accessibility & contrast

On white

4.95
#397F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#397F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F2B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F2B#FFFFFF#000000##FFFFFF
##397F2B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f2b;
/* rgb */ color: rgb(57, 127, 43);
/* oklch */ color: oklch(53.2% 0.138 140.5);
Tailwind
colors: {
  custom: {
    50: '#77a568',
    500: '#397f2b',
    950: '#000000',
  },
}
SCSS
$custom: #397f2b;
$custom-light: #77a568;
$custom-dark: #000000;
JSON
{
  "hex": "#397f2b",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 110,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.13817,
    "h": 140.5
  },
  "luminance": 0.16223
}

Semantic roles & 50–950 ramp

primary
#397F2B
secondary
#A058AE
accent
#4FD9C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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