#397A28#397A28

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

Color values

HEX#397A28
RGBrgb(57, 122, 40)
HSLhsl(108, 51%, 32%)
HSVhsv(108, 67%, 48%)
CMYKcmyk(53.3%, 0%, 67.2%, 52.2%)
CIE-LABlab(45.55, -37.17, 37.42)
CIE-LCHlch(45.55, 52.74, 134.81°)
OKLaboklab(51.82% -0.102 0.0865)
OKLCHoklch(51.82% 0.134 139.7)
XYZxyz(9.0295, 14.9414, 4.4152)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A28 #69287A
analogous
#627A28 #397A28 #287A40
triadic
#397A28 #28397A #7A2839
tetradic
#397A28 #28627A #69287A #7A4028
square
#397A28 #28627A #69287A #7A4028
split-complementary
#397A28 #40287A #7A2862
monochromatic
#0E1E0A #234C19 #397A28 #4FA837 #6DC755

Accessibility & contrast

On white

5.27
#397A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#397A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A28
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A28#FFFFFF#000000##FFFFFF
##397A281.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#337669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a28;
/* rgb */ color: rgb(57, 122, 40);
/* oklch */ color: oklch(51.8% 0.134 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a166',
    500: '#397a28',
    950: '#000000',
  },
}
SCSS
$custom: #397a28;
$custom-light: #76a166;
$custom-dark: #000000;
JSON
{
  "hex": "#397a28",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 107.561,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.13375,
    "h": 139.7
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#397A28
secondary
#9952AC
accent
#4EDABD
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397A28

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

Preview Lab → · Contrast checker → · Palette generator →

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