#397A24#397A24

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

Color values

HEX#397A24
RGBrgb(57, 122, 36)
HSLhsl(105, 54%, 31%)
HSVhsv(105, 70%, 48%)
CMYKcmyk(53.3%, 0%, 70.5%, 52.2%)
CIE-LABlab(45.52, -37.56, 39.17)
CIE-LCHlch(45.52, 54.27, 133.80°)
OKLaboklab(51.78% -0.1034 0.0897)
OKLCHoklch(51.78% 0.137 139.1)
XYZxyz(8.9650, 14.9156, 4.0753)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A24 #65247A
analogous
#647A24 #397A24 #247A3A
triadic
#397A24 #24397A #7A2439
tetradic
#397A24 #24647A #65247A #7A3A24
square
#397A24 #24647A #65247A #7A3A24
split-complementary
#397A24 #3A247A #7A2464
monochromatic
#0D1B08 #234B16 #397A24 #4FA932 #6CCB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A24#FFFFFF#000000##FFFFFF
##397A241.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397a24;
/* rgb */ color: rgb(57, 122, 36);
/* oklch */ color: oklch(51.8% 0.137 139.1);
Tailwind
colors: {
  custom: {
    50: '#76a164',
    500: '#397a24',
    950: '#000000',
  },
}
SCSS
$custom: #397a24;
$custom-light: #76a164;
$custom-dark: #000000;
JSON
{
  "hex": "#397a24",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 105.349,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5178,
    "c": 0.13684,
    "h": 139.1
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#397A24
secondary
#954DAC
accent
#4ADEBA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397A24

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

Preview Lab → · Contrast checker → · Palette generator →

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