#397D1B#397D1B

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

Color values

HEX#397D1B
RGBrgb(57, 125, 27)
HSLhsl(102, 64%, 30%)
HSVhsv(102, 78%, 49%)
CMYKcmyk(54.4%, 0%, 78.4%, 51%)
CIE-LABlab(46.47, -39.52, 43.72)
CIE-LCHlch(46.47, 58.93, 132.12°)
OKLaboklab(52.54% -0.1093 0.0979)
OKLCHoklch(52.54% 0.147 138.1)
XYZxyz(9.2185, 15.6155, 3.5650)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D1B #5F1B7D
analogous
#6A7D1B #397D1B #1B7D2E
triadic
#397D1B #1B397D #7D1B39
tetradic
#397D1B #1B6A7D #5F1B7D #7D2E1B
square
#397D1B #1B6A7D #5F1B7D #7D2E1B
split-complementary
#397D1B #2E1B7D #7D1B6A
monochromatic
#0B1905 #224B10 #397D1B #50AF26 #6CD53D

Accessibility & contrast

On white

5.09
#397D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397D1B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D1B#FFFFFF#000000##FFFFFF
##397D1B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d1b;
/* rgb */ color: rgb(57, 125, 27);
/* oklch */ color: oklch(52.5% 0.147 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a35f',
    500: '#397d1b',
    950: '#000000',
  },
}
SCSS
$custom: #397d1b;
$custom-light: #77a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#397d1b",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 101.633,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.14669,
    "h": 138.1
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#397D1B
secondary
#8F43B1
accent
#40E7B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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