#397C27#397C27

#397C27 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.4% C 0.137 H 139.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#397C27
RGBrgb(57, 124, 39)
HSLhsl(107, 52%, 32%)
HSVhsv(107, 69%, 49%)
CMYKcmyk(54%, 0%, 68.5%, 51.4%)
CIE-LABlab(46.22, -38.11, 38.59)
CIE-LCHlch(46.22, 54.24, 134.64°)
OKLaboklab(52.36% -0.1046 0.0888)
OKLCHoklch(52.36% 0.137 139.7)
XYZxyz(9.2608, 15.4309, 4.4095)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C27 #6A277C
analogous
#647C27 #397C27 #277C40
triadic
#397C27 #27397C #7C2739
tetradic
#397C27 #27647C #6A277C #7C4027
square
#397C27 #27647C #6A277C #7C4027
split-complementary
#397C27 #40277C #7C2764
monochromatic
#0E1F0A #244D18 #397C27 #4EAB36 #6DC954

Accessibility & contrast

On white

5.14
#397C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#397C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C27
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C27#FFFFFF#000000##FFFFFF
##397C271.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#776B2E
Tritanopia (blue-blind)
#32786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c27;
/* rgb */ color: rgb(57, 124, 39);
/* oklch */ color: oklch(52.4% 0.137 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a266',
    500: '#397c27',
    950: '#000000',
  },
}
SCSS
$custom: #397c27;
$custom-light: #76a266;
$custom-dark: #000000;
JSON
{
  "hex": "#397c27",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 107.294,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.13726,
    "h": 139.7
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#397C27
secondary
#9A51AE
accent
#4CDCBD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397C27

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

Preview Lab → · Contrast checker → · Palette generator →

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