#397D1C#397D1C

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

Color values

HEX#397D1C
RGBrgb(57, 125, 28)
HSLhsl(102, 63%, 30%)
HSVhsv(102, 78%, 49%)
CMYKcmyk(54.4%, 0%, 77.6%, 51%)
CIE-LABlab(46.47, -39.45, 43.36)
CIE-LCHlch(46.47, 58.62, 132.30°)
OKLaboklab(52.55% -0.109 0.0973)
OKLCHoklch(52.55% 0.146 138.3)
XYZxyz(9.2302, 15.6202, 3.6270)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D1C #601C7D
analogous
#697D1C #397D1C #1C7D30
triadic
#397D1C #1C397D #7D1C39
tetradic
#397D1C #1C697D #601C7D #7D301C
square
#397D1C #1C697D #601C7D #7D301C
split-complementary
#397D1C #301C7D #7D1C69
monochromatic
#0B1906 #224B11 #397D1C #50AF27 #6CD43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397D1C#FFFFFF#000000##FFFFFF
##397D1C1.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)
#817207
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d1c;
/* rgb */ color: rgb(57, 125, 28);
/* oklch */ color: oklch(52.5% 0.146 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a360',
    500: '#397d1c',
    950: '#000000',
  },
}
SCSS
$custom: #397d1c;
$custom-light: #77a360;
$custom-dark: #000000;
JSON
{
  "hex": "#397d1c",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 102.062,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.14611,
    "h": 138.3
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#397D1C
secondary
#9044B1
accent
#41E6B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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