#397E17#397E17

#397E17 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.150 H 137.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397E17
RGBrgb(57, 126, 23)
HSLhsl(100, 69%, 29%)
HSVhsv(100, 82%, 49%)
CMYKcmyk(54.8%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.78, -40.18, 45.39)
CIE-LCHlch(46.78, 60.62, 131.52°)
OKLaboklab(52.79% -0.1113 0.1008)
OKLCHoklch(52.79% 0.15 137.8)
XYZxyz(9.3025, 15.8527, 3.3801)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E17 #5C177E
analogous
#6D7E17 #397E17 #177E28
triadic
#397E17 #17397E #7E1739
tetradic
#397E17 #176D7E #5C177E #7E2817
square
#397E17 #176D7E #5C177E #7E2817
split-complementary
#397E17 #28177E #7E176D
monochromatic
#0C1A05 #224A0E #397E17 #50B220 #6CDA35

Accessibility & contrast

On white

5.04
#397E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#397E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E17
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E17#FFFFFF#000000##FFFFFF
##397E171.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e17;
/* rgb */ color: rgb(57, 126, 23);
/* oklch */ color: oklch(52.8% 0.150 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a45e',
    500: '#397e17',
    950: '#000000',
  },
}
SCSS
$custom: #397e17;
$custom-light: #77a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#397e17",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 100.194,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.15013,
    "h": 137.8
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397E17

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

Preview Lab → · Contrast checker → · Palette generator →

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