#397D17#397D17

#397D17 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.149 H 137.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#397D17
RGBrgb(57, 125, 23)
HSLhsl(100, 69%, 29%)
HSVhsv(100, 82%, 49%)
CMYKcmyk(54.4%, 0%, 81.6%, 51%)
CIE-LABlab(46.44, -39.78, 45.07)
CIE-LCHlch(46.44, 60.11, 131.44°)
OKLaboklab(52.51% -0.1102 0.1001)
OKLCHoklch(52.51% 0.149 137.8)
XYZxyz(9.1753, 15.5982, 3.3377)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D17 #5B177D
analogous
#6C7D17 #397D17 #177D28
triadic
#397D17 #17397D #7D1739
tetradic
#397D17 #176C7D #5B177D #7D2817
square
#397D17 #176C7D #5B177D #7D2817
split-complementary
#397D17 #28177D #7D176C
monochromatic
#0C1A05 #21490D #397D17 #51B121 #6CDA35

Accessibility & contrast

On white

5.10
#397D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#397D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D17
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D17#FFFFFF#000000##FFFFFF
##397D171.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#34786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d17;
/* rgb */ color: rgb(57, 125, 23);
/* oklch */ color: oklch(52.5% 0.149 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a35d',
    500: '#397d17',
    950: '#000000',
  },
}
SCSS
$custom: #397d17;
$custom-light: #77a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#397d17",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52513,
    "c": 0.14888,
    "h": 137.8
  },
  "luminance": 0.15599
}

Semantic roles & 50–950 ramp

primary
#397D17
secondary
#8B3EB2
accent
#3CECB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D17

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

Preview Lab → · Contrast checker → · Palette generator →

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