#397A1A#397A1A

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

Color values

HEX#397A1A
RGBrgb(57, 122, 26)
HSLhsl(101, 65%, 29%)
HSVhsv(101, 79%, 48%)
CMYKcmyk(53.3%, 0%, 78.7%, 52.2%)
CIE-LABlab(45.45, -38.37, 43.08)
CIE-LCHlch(45.45, 57.69, 131.69°)
OKLaboklab(51.7% -0.1062 0.0964)
OKLCHoklch(51.7% 0.143 137.8)
XYZxyz(8.8330, 14.8628, 3.3804)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A1A #5B1A7A
analogous
#697A1A #397A1A #1A7A2B
triadic
#397A1A #1A397A #7A1A39
tetradic
#397A1A #1A697A #5B1A7A #7A2B1A
square
#397A1A #1A697A #5B1A7A #7A2B1A
split-complementary
#397A1A #2B1A7A #7A1A69
monochromatic
#0C1905 #21480F #397A1A #51AC25 #6CD539

Accessibility & contrast

On white

5.29
#397A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397A1A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A1A#FFFFFF#000000##FFFFFF
##397A1A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#347568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a1a;
/* rgb */ color: rgb(57, 122, 26);
/* oklch */ color: oklch(51.7% 0.143 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a15e',
    500: '#397a1a',
    950: '#000000',
  },
}
SCSS
$custom: #397a1a;
$custom-light: #77a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#397a1a",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 100.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.14346,
    "h": 137.8
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#397A1A
secondary
#8B41AE
accent
#40E8B2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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