#397D38#397D38

#397D38 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.9% C 0.124 H 143.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397D38
RGBrgb(57, 125, 56)
HSLhsl(119, 38%, 35%)
HSVhsv(119, 55%, 49%)
CMYKcmyk(54.4%, 0%, 55.2%, 51%)
CIE-LABlab(46.74, -36.50, 30.89)
CIE-LCHlch(46.74, 47.82, 139.75°)
OKLaboklab(52.85% -0.0993 0.0739)
OKLCHoklch(52.85% 0.124 143.3)
XYZxyz(9.7343, 15.8218, 6.2816)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D38 #7C387D
analogous
#5C7D38 #397D38 #387D59
triadic
#397D38 #38397D #7D3839
tetradic
#397D38 #385C7D #7C387D #7D5938
square
#397D38 #385C7D #7C387D #7D5938
split-complementary
#397D38 #59387D #7D385C
monochromatic
#122812 #265325 #397D38 #4CA74B #71BF70

Accessibility & contrast

On white

5.04
#397D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#397D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D38
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D38#FFFFFF#000000##FFFFFF
##397D381.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7332
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#2F7A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397d38;
/* rgb */ color: rgb(57, 125, 56);
/* oklch */ color: oklch(52.9% 0.124 143.3);
Tailwind
colors: {
  custom: {
    50: '#76a370',
    500: '#397d38',
    950: '#000000',
  },
}
SCSS
$custom: #397d38;
$custom-light: #76a370;
$custom-dark: #000000;
JSON
{
  "hex": "#397d38",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 119.13,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.12378,
    "h": 143.3
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#397D38
secondary
#A769A8
accent
#5ACECC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397D38

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

Preview Lab → · Contrast checker → · Palette generator →

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