#397F2D#397F2D

#397F2D is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.3% C 0.137 H 140.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#397F2D
RGBrgb(57, 127, 45)
HSLhsl(111, 48%, 34%)
HSVhsv(111, 65%, 50%)
CMYKcmyk(55.1%, 0%, 64.6%, 50.2%)
CIE-LABlab(47.28, -38.72, 37.01)
CIE-LCHlch(47.28, 53.56, 136.30°)
OKLaboklab(53.26% -0.1059 0.0862)
OKLCHoklch(53.26% 0.137 140.9)
XYZxyz(9.7499, 16.2373, 5.1024)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F2D #732D7F
analogous
#627F2D #397F2D #2D7F4A
triadic
#397F2D #2D397F #7F2D39
tetradic
#397F2D #2D627F #732D7F #7F4A2D
square
#397F2D #2D627F #732D7F #7F4A2D
split-complementary
#397F2D #4A2D7F #7F2D62
monochromatic
#10250D #25521D #397F2D #4DAC3D #6FC760

Accessibility & contrast

On white

4.94
#397F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#397F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F2D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F2D#FFFFFF#000000##FFFFFF
##397F2D1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827424
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#317B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f2d;
/* rgb */ color: rgb(57, 127, 45);
/* oklch */ color: oklch(53.3% 0.137 140.9);
Tailwind
colors: {
  custom: {
    50: '#77a569',
    500: '#397f2d',
    950: '#000000',
  },
}
SCSS
$custom: #397f2d;
$custom-light: #77a569;
$custom-dark: #000000;
JSON
{
  "hex": "#397f2d",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 111.22,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.13653,
    "h": 140.9
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#397F2D
secondary
#A15BAD
accent
#51D7C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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