#397E27#397E27

#397E27 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.140 H 139.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#397E27
RGBrgb(57, 126, 39)
HSLhsl(108, 53%, 32%)
HSVhsv(108, 69%, 49%)
CMYKcmyk(54.8%, 0%, 69%, 50.6%)
CIE-LABlab(46.89, -38.93, 39.32)
CIE-LCHlch(46.89, 55.33, 134.72°)
OKLaboklab(52.92% -0.1069 0.0904)
OKLCHoklch(52.92% 0.14 139.8)
XYZxyz(9.5140, 15.9373, 4.4939)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E27 #6C277E
analogous
#657E27 #397E27 #277E40
triadic
#397E27 #27397E #7E2739
tetradic
#397E27 #27657E #6C277E #7E4027
square
#397E27 #27657E #6C277E #7E4027
split-complementary
#397E27 #40277E #7E2765
monochromatic
#0F210A #244F19 #397E27 #4EAD35 #6DCA55

Accessibility & contrast

On white

5.01
#397E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#397E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E27
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E27#FFFFFF#000000##FFFFFF
##397E271.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e27;
/* rgb */ color: rgb(57, 126, 39);
/* oklch */ color: oklch(52.9% 0.140 139.8);
Tailwind
colors: {
  custom: {
    50: '#77a466',
    500: '#397e27',
    950: '#000000',
  },
}
SCSS
$custom: #397e27;
$custom-light: #77a466;
$custom-dark: #000000;
JSON
{
  "hex": "#397e27",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 107.586,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.13996,
    "h": 139.8
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#397E27
secondary
#9C52AF
accent
#4CDCBE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397E27

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

Preview Lab → · Contrast checker → · Palette generator →

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