#397E28#397E28

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

Color values

HEX#397E28
RGBrgb(57, 126, 40)
HSLhsl(108, 52%, 33%)
HSVhsv(108, 68%, 49%)
CMYKcmyk(54.8%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.90, -38.83, 38.88)
CIE-LCHlch(46.90, 54.95, 134.96°)
OKLaboklab(52.93% -0.1065 0.0896)
OKLCHoklch(52.93% 0.139 139.9)
XYZxyz(9.5308, 15.9440, 4.5823)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E28 #6D287E
analogous
#647E28 #397E28 #287E42
triadic
#397E28 #28397E #7E2839
tetradic
#397E28 #28647E #6D287E #7E4228
square
#397E28 #28647E #6D287E #7E4228
split-complementary
#397E28 #42287E #7E2864
monochromatic
#0F210B #245019 #397E28 #4EAC37 #6DCA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397E28#FFFFFF#000000##FFFFFF
##397E281.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)
#82731D
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e28;
/* rgb */ color: rgb(57, 126, 40);
/* oklch */ color: oklch(52.9% 0.139 139.9);
Tailwind
colors: {
  custom: {
    50: '#77a466',
    500: '#397e28',
    950: '#000000',
  },
}
SCSS
$custom: #397e28;
$custom-light: #77a466;
$custom-dark: #000000;
JSON
{
  "hex": "#397e28",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 108.14,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.13919,
    "h": 139.9
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#397E28
secondary
#9D53AF
accent
#4DDBBF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397E28

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

Preview Lab → · Contrast checker → · Palette generator →

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