#397F28#397F28

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

Color values

HEX#397F28
RGBrgb(57, 127, 40)
HSLhsl(108, 52%, 33%)
HSVhsv(108, 69%, 50%)
CMYKcmyk(55.1%, 0%, 68.5%, 50.2%)
CIE-LABlab(47.24, -39.24, 39.25)
CIE-LCHlch(47.24, 55.50, 135.00°)
OKLaboklab(53.21% -0.1076 0.0903)
OKLCHoklch(53.21% 0.141 140)
XYZxyz(9.6593, 16.2010, 4.6252)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F28 #6E287F
analogous
#647F28 #397F28 #287F42
triadic
#397F28 #28397F #7F2839
tetradic
#397F28 #28647F #6E287F #7F4228
square
#397F28 #28647F #6E287F #7F4228
split-complementary
#397F28 #42287F #7F2864
monochromatic
#0F220B #245019 #397F28 #4EAE37 #6ECA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F28#FFFFFF#000000##FFFFFF
##397F281.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)
#83741D
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f28;
/* rgb */ color: rgb(57, 127, 40);
/* oklch */ color: oklch(53.2% 0.141 140.0);
Tailwind
colors: {
  custom: {
    50: '#77a566',
    500: '#397f28',
    950: '#000000',
  },
}
SCSS
$custom: #397f28;
$custom-light: #77a566;
$custom-dark: #000000;
JSON
{
  "hex": "#397f28",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 108.276,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.14053,
    "h": 140
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#397F28
secondary
#9D54AF
accent
#4CDCC0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F28

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

Preview Lab → · Contrast checker → · Palette generator →

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