#397F17#397F17

#397F17 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.151 H 137.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#397F17
RGBrgb(57, 127, 23)
HSLhsl(100, 69%, 29%)
HSVhsv(100, 82%, 50%)
CMYKcmyk(55.1%, 0%, 81.9%, 50.2%)
CIE-LABlab(47.12, -40.58, 45.70)
CIE-LCHlch(47.12, 61.12, 131.60°)
OKLaboklab(53.07% -0.1124 0.1014)
OKLCHoklch(53.07% 0.151 137.9)
XYZxyz(9.4310, 16.1097, 3.4230)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F17 #5D177F
analogous
#6D7F17 #397F17 #177F29
triadic
#397F17 #17397F #7F1739
tetradic
#397F17 #176D7F #5D177F #7F2917
square
#397F17 #176D7F #5D177F #7F2917
split-complementary
#397F17 #29177F #7F176D
monochromatic
#0C1A05 #224B0E #397F17 #50B320 #6CDB36

Accessibility & contrast

On white

4.97
#397F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#397F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F17#FFFFFF#000000##FFFFFF
##397F171.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f17;
/* rgb */ color: rgb(57, 127, 23);
/* oklch */ color: oklch(53.1% 0.151 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a55e',
    500: '#397f17',
    950: '#000000',
  },
}
SCSS
$custom: #397f17;
$custom-light: #78a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#397f17",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 100.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.15136,
    "h": 137.9
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#397F17
secondary
#8D3EB4
accent
#3CECB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397F17

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

Preview Lab → · Contrast checker → · Palette generator →

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