#397E24#397E24

#397E24 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.142 H 139.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397E24
RGBrgb(57, 126, 36)
HSLhsl(106, 56%, 32%)
HSVhsv(106, 71%, 49%)
CMYKcmyk(54.8%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.87, -39.21, 40.59)
CIE-LCHlch(46.87, 56.44, 134.01°)
OKLaboklab(52.89% -0.1078 0.0927)
OKLCHoklch(52.89% 0.142 139.3)
XYZxyz(9.4663, 15.9182, 4.2424)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E24 #69247E
analogous
#667E24 #397E24 #247E3C
triadic
#397E24 #24397E #7E2439
tetradic
#397E24 #24667E #69247E #7E3C24
square
#397E24 #24667E #69247E #7E3C24
split-complementary
#397E24 #3C247E #7E2466
monochromatic
#0E1F09 #234E16 #397E24 #4FAE32 #6DCD50

Accessibility & contrast

On white

5.02
#397E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#397E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E24
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E24#FFFFFF#000000##FFFFFF
##397E241.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827317
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e24;
/* rgb */ color: rgb(57, 126, 36);
/* oklch */ color: oklch(52.9% 0.142 139.3);
Tailwind
colors: {
  custom: {
    50: '#77a464',
    500: '#397e24',
    950: '#000000',
  },
}
SCSS
$custom: #397e24;
$custom-light: #77a464;
$custom-dark: #000000;
JSON
{
  "hex": "#397e24",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 106,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.14217,
    "h": 139.3
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#397E24
secondary
#994EB0
accent
#49DFBC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397E24

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

Preview Lab → · Contrast checker → · Palette generator →

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