#397F18#397F18

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

Color values

HEX#397F18
RGBrgb(57, 127, 24)
HSLhsl(101, 68%, 30%)
HSVhsv(101, 81%, 50%)
CMYKcmyk(55.1%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.12, -40.52, 45.38)
CIE-LCHlch(47.12, 60.84, 131.76°)
OKLaboklab(53.08% -0.1121 0.1009)
OKLCHoklch(53.08% 0.151 138)
XYZxyz(9.4413, 16.1138, 3.4767)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F18 #5E187F
analogous
#6D7F18 #397F18 #187F2B
triadic
#397F18 #18397F #7F1839
tetradic
#397F18 #186D7F #5E187F #7F2B18
square
#397F18 #186D7F #5E187F #7F2B18
split-complementary
#397F18 #2B187F #7F186D
monochromatic
#0C1A05 #224C0E #397F18 #50B222 #6CD938

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F18#FFFFFF#000000##FFFFFF
##397F181.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)
#7A6E24
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f18;
/* rgb */ color: rgb(57, 127, 24);
/* oklch */ color: oklch(53.1% 0.151 138.0);
Tailwind
colors: {
  custom: {
    50: '#78a55e',
    500: '#397f18',
    950: '#000000',
  },
}
SCSS
$custom: #397f18;
$custom-light: #78a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#397f18",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 100.777,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.15085,
    "h": 138
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#397F18
secondary
#8E3FB3
accent
#3DEBB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397F18

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

Preview Lab → · Contrast checker → · Palette generator →

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