#397A21#397A21

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

Color values

HEX#397A21
RGBrgb(57, 122, 33)
HSLhsl(104, 57%, 30%)
HSVhsv(104, 73%, 48%)
CMYKcmyk(53.3%, 0%, 73%, 52.2%)
CIE-LABlab(45.49, -37.83, 40.41)
CIE-LCHlch(45.49, 55.36, 133.11°)
OKLaboklab(51.75% -0.1043 0.0919)
OKLCHoklch(51.75% 0.139 138.6)
XYZxyz(8.9211, 14.8981, 3.8441)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A21 #62217A
analogous
#657A21 #397A21 #217A35
triadic
#397A21 #21397A #7A2139
tetradic
#397A21 #21657A #62217A #7A3521
square
#397A21 #21657A #62217A #7A3521
split-complementary
#397A21 #35217A #7A2165
monochromatic
#0C1A07 #224A14 #397A21 #50AA2E #6CCD48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A21#FFFFFF#000000##FFFFFF
##397A211.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)
#7E6F13
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a21;
/* rgb */ color: rgb(57, 122, 33);
/* oklch */ color: oklch(51.8% 0.139 138.6);
Tailwind
colors: {
  custom: {
    50: '#76a162',
    500: '#397a21',
    950: '#000000',
  },
}
SCSS
$custom: #397a21;
$custom-light: #76a162;
$custom-dark: #000000;
JSON
{
  "hex": "#397a21",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 103.82,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.13899,
    "h": 138.6
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#397A21
secondary
#924AAD
accent
#47E1B7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397A21

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

Preview Lab → · Contrast checker → · Palette generator →

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