#397F2A#397F2A

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

Color values

HEX#397F2A
RGBrgb(57, 127, 42)
HSLhsl(109, 50%, 33%)
HSVhsv(109, 67%, 50%)
CMYKcmyk(55.1%, 0%, 66.9%, 50.2%)
CIE-LABlab(47.26, -39.04, 38.36)
CIE-LCHlch(47.26, 54.74, 135.50°)
OKLaboklab(53.23% -0.107 0.0887)
OKLCHoklch(53.23% 0.139 140.3)
XYZxyz(9.6942, 16.2150, 4.8090)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F2A #702A7F
analogous
#637F2A #397F2A #2A7F45
triadic
#397F2A #2A397F #7F2A39
tetradic
#397F2A #2A637F #702A7F #7F452A
square
#397F2A #2A637F #702A7F #7F452A
split-complementary
#397F2A #452A7F #7F2A63
monochromatic
#10230C #24511B #397F2A #4EAD39 #6EC95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F2A#FFFFFF#000000##FFFFFF
##397F2A1.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)
#82741F
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f2a;
/* rgb */ color: rgb(57, 127, 42);
/* oklch */ color: oklch(53.2% 0.139 140.3);
Tailwind
colors: {
  custom: {
    50: '#77a568',
    500: '#397f2a',
    950: '#000000',
  },
}
SCSS
$custom: #397f2a;
$custom-light: #77a568;
$custom-dark: #000000;
JSON
{
  "hex": "#397f2a",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 109.412,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.13897,
    "h": 140.3
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#397F2A
secondary
#9F57AE
accent
#4EDAC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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