#397328#397328

#397328 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.9% C 0.124 H 139.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#397328
RGBrgb(57, 115, 40)
HSLhsl(106, 48%, 30%)
HSVhsv(106, 65%, 45%)
CMYKcmyk(50.4%, 0%, 65.2%, 54.9%)
CIE-LABlab(43.19, -34.18, 34.80)
CIE-LCHlch(43.19, 48.78, 134.48°)
OKLaboklab(49.88% -0.0939 0.0809)
OKLCHoklch(49.88% 0.124 139.2)
XYZxyz(8.2008, 13.2840, 4.1390)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397328 #622873
analogous
#5E7328 #397328 #28733C
triadic
#397328 #283973 #732839
tetradic
#397328 #285E73 #622873 #733C28
square
#397328 #285E73 #622873 #733C28
split-complementary
#397328 #3C2873 #73285E
monochromatic
#0C1808 #224618 #397328 #50A038 #6CC352

Accessibility & contrast

On white

5.74
#397328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#397328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397328
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397328#FFFFFF#000000##FFFFFF
##3973281.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6F642E
Tritanopia (blue-blind)
#346F63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397328;
/* rgb */ color: rgb(57, 115, 40);
/* oklch */ color: oklch(49.9% 0.124 139.2);
Tailwind
colors: {
  custom: {
    50: '#759c65',
    500: '#397328',
    950: '#000000',
  },
}
SCSS
$custom: #397328;
$custom-light: #759c65;
$custom-dark: #000000;
JSON
{
  "hex": "#397328",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 106.4,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.12397,
    "h": 139.2
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#397328
secondary
#9252A5
accent
#50D8B9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397328

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

Preview Lab → · Contrast checker → · Palette generator →

#397328 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva