#397F1C#397F1C

#397F1C is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.149 H 138.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#397F1C
RGBrgb(57, 127, 28)
HSLhsl(102, 64%, 30%)
HSVhsv(102, 78%, 50%)
CMYKcmyk(55.1%, 0%, 78%, 50.2%)
CIE-LABlab(47.15, -40.26, 44.02)
CIE-LCHlch(47.15, 59.65, 132.44°)
OKLaboklab(53.1% -0.1112 0.0987)
OKLCHoklch(53.1% 0.149 138.4)
XYZxyz(9.4860, 16.1317, 3.7122)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F1C #621C7F
analogous
#6A7F1C #397F1C #1C7F30
triadic
#397F1C #1C397F #7F1C39
tetradic
#397F1C #1C6A7F #621C7F #7F301C
square
#397F1C #1C6A7F #621C7F #7F301C
split-complementary
#397F1C #301C7F #7F1C6A
monochromatic
#0C1B06 #224D11 #397F1C #50B127 #6CD540

Accessibility & contrast

On white

4.97
#397F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#397F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F1C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F1C#FFFFFF#000000##FFFFFF
##397F1C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f1c;
/* rgb */ color: rgb(57, 127, 28);
/* oklch */ color: oklch(53.1% 0.149 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a560',
    500: '#397f1c',
    950: '#000000',
  },
}
SCSS
$custom: #397f1c;
$custom-light: #77a560;
$custom-dark: #000000;
JSON
{
  "hex": "#397f1c",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 102.424,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.14865,
    "h": 138.4
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#397F1C
secondary
#9244B3
accent
#41E7B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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