#397F16#397F16

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

Color values

HEX#397F16
RGBrgb(57, 127, 22)
HSLhsl(100, 70%, 29%)
HSVhsv(100, 83%, 50%)
CMYKcmyk(55.1%, 0%, 82.7%, 50.2%)
CIE-LABlab(47.11, -40.64, 46.01)
CIE-LCHlch(47.11, 61.39, 131.45°)
OKLaboklab(53.06% -0.1126 0.1019)
OKLCHoklch(53.06% 0.152 137.8)
XYZxyz(9.4212, 16.1058, 3.3712)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F16 #5C167F
analogous
#6E7F16 #397F16 #167F28
triadic
#397F16 #16397F #7F1639
tetradic
#397F16 #166E7F #5C167F #7F2816
square
#397F16 #166E7F #5C167F #7F2816
split-complementary
#397F16 #28167F #7F166E
monochromatic
#0C1A05 #224B0D #397F16 #50B31F #6CDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F16#FFFFFF#000000##FFFFFF
##397F161.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: #397f16;
/* rgb */ color: rgb(57, 127, 22);
/* oklch */ color: oklch(53.1% 0.152 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#397f16',
    950: '#000000',
  },
}
SCSS
$custom: #397f16;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#397f16",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 100,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.15185,
    "h": 137.8
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#397F16
secondary
#8C3DB4
accent
#3BEDB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397F16

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

Preview Lab → · Contrast checker → · Palette generator →

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