#397D24#397D24

#397D24 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.141 H 139.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397D24
RGBrgb(57, 125, 36)
HSLhsl(106, 55%, 32%)
HSVhsv(106, 71%, 49%)
CMYKcmyk(54.4%, 0%, 71.2%, 51%)
CIE-LABlab(46.53, -38.80, 40.23)
CIE-LCHlch(46.53, 55.90, 133.96°)
OKLaboklab(52.61% -0.1067 0.0919)
OKLCHoklch(52.61% 0.141 139.3)
XYZxyz(9.3390, 15.6637, 4.2000)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D24 #68247D
analogous
#667D24 #397D24 #247D3C
triadic
#397D24 #24397D #7D2439
tetradic
#397D24 #24667D #68247D #7D3C24
square
#397D24 #24667D #68247D #7D3C24
split-complementary
#397D24 #3C247D #7D2466
monochromatic
#0E1E09 #234D16 #397D24 #4FAD32 #6DCC4F

Accessibility & contrast

On white

5.08
#397D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D24
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D24#FFFFFF#000000##FFFFFF
##397D241.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d24;
/* rgb */ color: rgb(57, 125, 36);
/* oklch */ color: oklch(52.6% 0.141 139.3);
Tailwind
colors: {
  custom: {
    50: '#77a364',
    500: '#397d24',
    950: '#000000',
  },
}
SCSS
$custom: #397d24;
$custom-light: #77a364;
$custom-dark: #000000;
JSON
{
  "hex": "#397d24",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 105.843,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.14084,
    "h": 139.3
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#397D24
secondary
#984DAF
accent
#49DFBB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D24

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

Preview Lab → · Contrast checker → · Palette generator →

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