#397F38#397F38

#397F38 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.4% C 0.127 H 143.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#397F38
RGBrgb(57, 127, 56)
HSLhsl(119, 39%, 36%)
HSVhsv(119, 56%, 50%)
CMYKcmyk(55.1%, 0%, 55.9%, 50.2%)
CIE-LABlab(47.41, -37.35, 31.70)
CIE-LCHlch(47.41, 48.99, 139.68°)
OKLaboklab(53.4% -0.1016 0.0757)
OKLCHoklch(53.4% 0.127 143.3)
XYZxyz(9.9900, 16.3333, 6.3668)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F38 #7E387F
analogous
#5C7F38 #397F38 #387F5A
triadic
#397F38 #38397F #7F3839
tetradic
#397F38 #385C7F #7E387F #7F5A38
square
#397F38 #385C7F #7E387F #7F5A38
split-complementary
#397F38 #5A387F #7F385C
monochromatic
#132A13 #265525 #397F38 #4CA94B #72C071

Accessibility & contrast

On white

4.92
#397F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#397F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F38
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F38#FFFFFF#000000##FFFFFF
##397F381.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827431
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#2F7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f38;
/* rgb */ color: rgb(57, 127, 56);
/* oklch */ color: oklch(53.4% 0.127 143.3);
Tailwind
colors: {
  custom: {
    50: '#76a570',
    500: '#397f38',
    950: '#000000',
  },
}
SCSS
$custom: #397f38;
$custom-light: #76a570;
$custom-dark: #000000;
JSON
{
  "hex": "#397f38",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 119.155,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.12669,
    "h": 143.3
  },
  "luminance": 0.16334
}

Semantic roles & 50–950 ramp

primary
#397F38
secondary
#A869A9
accent
#59CFCD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397F38

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

Preview Lab → · Contrast checker → · Palette generator →

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