#397F19#397F19

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

Color values

HEX#397F19
RGBrgb(57, 127, 25)
HSLhsl(101, 67%, 30%)
HSVhsv(101, 80%, 50%)
CMYKcmyk(55.1%, 0%, 80.3%, 50.2%)
CIE-LABlab(47.13, -40.46, 45.06)
CIE-LCHlch(47.13, 60.56, 131.92°)
OKLaboklab(53.08% -0.1119 0.1004)
OKLCHoklch(53.08% 0.15 138.1)
XYZxyz(9.4518, 16.1180, 3.5325)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F19 #5F197F
analogous
#6C7F19 #397F19 #197F2C
triadic
#397F19 #19397F #7F1939
tetradic
#397F19 #196C7F #5F197F #7F2C19
square
#397F19 #196C7F #5F197F #7F2C19
split-complementary
#397F19 #2C197F #7F196C
monochromatic
#0B1A05 #224C0F #397F19 #50B223 #6CD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F19#FFFFFF#000000##FFFFFF
##397F191.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: #397f19;
/* rgb */ color: rgb(57, 127, 25);
/* oklch */ color: oklch(53.1% 0.150 138.1);
Tailwind
colors: {
  custom: {
    50: '#78a55f',
    500: '#397f19',
    950: '#000000',
  },
}
SCSS
$custom: #397f19;
$custom-light: #78a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#397f19",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 101.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.15033,
    "h": 138.1
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#397F19
secondary
#8F41B3
accent
#3EEAB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397F19

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

Preview Lab → · Contrast checker → · Palette generator →

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