#397D2E#397D2E

#397D2E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.133 H 141.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#397D2E
RGBrgb(57, 125, 46)
HSLhsl(112, 46%, 34%)
HSVhsv(112, 63%, 49%)
CMYKcmyk(54.4%, 0%, 63.2%, 51%)
CIE-LABlab(46.62, -37.77, 35.78)
CIE-LCHlch(46.62, 52.03, 136.55°)
OKLaboklab(52.72% -0.1033 0.0837)
OKLCHoklch(52.72% 0.133 141)
XYZxyz(9.5137, 15.7336, 5.1198)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D2E #722E7D
analogous
#607D2E #397D2E #2E7D4A
triadic
#397D2E #2E397D #7D2E39
tetradic
#397D2E #2E607D #722E7D #7D4A2E
square
#397D2E #2E607D #722E7D #7D4A2E
split-complementary
#397D2E #4A2E7D #7D2E60
monochromatic
#10240D #25501E #397D2E #4DAA3E #6FC561

Accessibility & contrast

On white

5.06
#397D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#397D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D2E#FFFFFF#000000##FFFFFF
##397D2E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#31796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d2e;
/* rgb */ color: rgb(57, 125, 46);
/* oklch */ color: oklch(52.7% 0.133 141.0);
Tailwind
colors: {
  custom: {
    50: '#76a36a',
    500: '#397d2e',
    950: '#000000',
  },
}
SCSS
$custom: #397d2e;
$custom-light: #76a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#397d2e",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 111.646,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.13292,
    "h": 141
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#397D2E
secondary
#A05BAB
accent
#52D6C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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