#397A1B#397A1B

#397A1B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.143 H 137.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#397A1B
RGBrgb(57, 122, 27)
HSLhsl(101, 64%, 29%)
HSVhsv(101, 78%, 48%)
CMYKcmyk(53.3%, 0%, 77.9%, 52.2%)
CIE-LABlab(45.45, -38.30, 42.72)
CIE-LCHlch(45.45, 57.38, 131.88°)
OKLaboklab(51.7% -0.106 0.0958)
OKLCHoklch(51.7% 0.143 137.9)
XYZxyz(8.8444, 14.8674, 3.4403)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A1B #5C1B7A
analogous
#697A1B #397A1B #1B7A2D
triadic
#397A1B #1B397A #7A1B39
tetradic
#397A1B #1B697A #5C1B7A #7A2D1B
square
#397A1B #1B697A #5C1B7A #7A2D1B
split-complementary
#397A1B #2D1B7A #7A1B69
monochromatic
#0C1906 #224810 #397A1B #50AC26 #6CD43C

Accessibility & contrast

On white

5.28
#397A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#397A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A1B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A1B#FFFFFF#000000##FFFFFF
##397A1B1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#347668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a1b;
/* rgb */ color: rgb(57, 122, 27);
/* oklch */ color: oklch(51.7% 0.143 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a15f',
    500: '#397a1b',
    950: '#000000',
  },
}
SCSS
$custom: #397a1b;
$custom-light: #77a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#397a1b",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 101.053,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.14287,
    "h": 137.9
  },
  "luminance": 0.14868
}

Semantic roles & 50–950 ramp

primary
#397A1B
secondary
#8C43AE
accent
#41E7B2
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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