#397D27#397D27

#397D27 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.139 H 139.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397D27
RGBrgb(57, 125, 39)
HSLhsl(107, 52%, 32%)
HSVhsv(107, 69%, 49%)
CMYKcmyk(54.4%, 0%, 68.8%, 51%)
CIE-LABlab(46.56, -38.52, 38.96)
CIE-LCHlch(46.56, 54.78, 134.68°)
OKLaboklab(52.64% -0.1057 0.0896)
OKLCHoklch(52.64% 0.139 139.7)
XYZxyz(9.3868, 15.6828, 4.4515)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D27 #6B277D
analogous
#647D27 #397D27 #277D40
triadic
#397D27 #27397D #7D2739
tetradic
#397D27 #27647D #6B277D #7D4027
square
#397D27 #27647D #6B277D #7D4027
split-complementary
#397D27 #40277D #7D2764
monochromatic
#0E200A #244E18 #397D27 #4EAC36 #6DCA55

Accessibility & contrast

On white

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

On black

4.14
#397D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397D27#FFFFFF#000000##FFFFFF
##397D271.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721C
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d27;
/* rgb */ color: rgb(57, 125, 39);
/* oklch */ color: oklch(52.6% 0.139 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a366',
    500: '#397d27',
    950: '#000000',
  },
}
SCSS
$custom: #397d27;
$custom-light: #76a366;
$custom-dark: #000000;
JSON
{
  "hex": "#397d27",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 107.442,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.13861,
    "h": 139.7
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#397D27
secondary
#9B51AF
accent
#4CDCBE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D27

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

Preview Lab → · Contrast checker → · Palette generator →

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