#397E22#397E22

#397E22 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.144 H 139.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397E22
RGBrgb(57, 126, 34)
HSLhsl(105, 58%, 31%)
HSVhsv(105, 73%, 49%)
CMYKcmyk(54.8%, 0%, 73%, 50.6%)
CIE-LABlab(46.85, -39.39, 41.41)
CIE-LCHlch(46.85, 57.15, 133.57°)
OKLaboklab(52.87% -0.1084 0.0941)
OKLCHoklch(52.87% 0.144 139.1)
XYZxyz(9.4366, 15.9063, 4.0860)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E22 #67227E
analogous
#677E22 #397E22 #227E39
triadic
#397E22 #22397E #7E2239
tetradic
#397E22 #22677E #67227E #7E3922
square
#397E22 #22677E #67227E #7E3922
split-complementary
#397E22 #39227E #7E2267
monochromatic
#0D1E08 #234E15 #397E22 #4FAE2F #6CCF4C

Accessibility & contrast

On white

5.02
#397E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#397E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E22#FFFFFF#000000##FFFFFF
##397E221.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e22;
/* rgb */ color: rgb(57, 126, 34);
/* oklch */ color: oklch(52.9% 0.144 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a463',
    500: '#397e22',
    950: '#000000',
  },
}
SCSS
$custom: #397e22;
$custom-light: #77a463;
$custom-dark: #000000;
JSON
{
  "hex": "#397e22",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 105,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.14356,
    "h": 139.1
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#397E22
secondary
#974BB1
accent
#47E1BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397E22

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

Preview Lab → · Contrast checker → · Palette generator →

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