#397D1D#397D1D

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

Color values

HEX#397D1D
RGBrgb(57, 125, 29)
HSLhsl(103, 62%, 30%)
HSVhsv(103, 77%, 49%)
CMYKcmyk(54.4%, 0%, 76.8%, 51%)
CIE-LABlab(46.48, -39.38, 42.99)
CIE-LCHlch(46.48, 58.30, 132.49°)
OKLaboklab(52.55% -0.1087 0.0967)
OKLCHoklch(52.55% 0.146 138.4)
XYZxyz(9.2424, 15.6251, 3.6911)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D1D #611D7D
analogous
#697D1D #397D1D #1D7D31
triadic
#397D1D #1D397D #7D1D39
tetradic
#397D1D #1D697D #611D7D #7D311D
square
#397D1D #1D697D #611D7D #7D311D
split-complementary
#397D1D #311D7D #7D1D69
monochromatic
#0C1A06 #224B11 #397D1D #50AF29 #6CD341

Accessibility & contrast

On white

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

On black

4.13
#397D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397D1D#FFFFFF#000000##FFFFFF
##397D1D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720A
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#33786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d1d;
/* rgb */ color: rgb(57, 125, 29);
/* oklch */ color: oklch(52.6% 0.146 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a360',
    500: '#397d1d',
    950: '#000000',
  },
}
SCSS
$custom: #397d1d;
$custom-light: #77a360;
$custom-dark: #000000;
JSON
{
  "hex": "#397d1d",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 102.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.14551,
    "h": 138.4
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#397D1D
secondary
#9145B1
accent
#42E5B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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