#397A22#397A22

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

Color values

HEX#397A22
RGBrgb(57, 122, 34)
HSLhsl(104, 56%, 31%)
HSVhsv(104, 72%, 48%)
CMYKcmyk(53.3%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.50, -37.75, 40.00)
CIE-LCHlch(45.50, 55.00, 133.34°)
OKLaboklab(51.76% -0.104 0.0912)
OKLCHoklch(51.76% 0.138 138.8)
XYZxyz(8.9353, 14.9037, 3.9189)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A22 #63227A
analogous
#657A22 #397A22 #227A37
triadic
#397A22 #22397A #7A2239
tetradic
#397A22 #22657A #63227A #7A3722
square
#397A22 #22657A #63227A #7A3722
split-complementary
#397A22 #37227A #7A2265
monochromatic
#0C1A07 #234A15 #397A22 #4FAA2F #6CCD4A

Accessibility & contrast

On white

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

On black

3.98
#397A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397A22#FFFFFF#000000##FFFFFF
##397A221.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a22;
/* rgb */ color: rgb(57, 122, 34);
/* oklch */ color: oklch(51.8% 0.138 138.8);
Tailwind
colors: {
  custom: {
    50: '#76a162',
    500: '#397a22',
    950: '#000000',
  },
}
SCSS
$custom: #397a22;
$custom-light: #76a162;
$custom-dark: #000000;
JSON
{
  "hex": "#397a22",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 104.318,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.13829,
    "h": 138.8
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#397A22
secondary
#934BAD
accent
#48E0B8
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397A22

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

Preview Lab → · Contrast checker → · Palette generator →

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