#397A26#397A26

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

Color values

HEX#397A26
RGBrgb(57, 122, 38)
HSLhsl(106, 53%, 31%)
HSVhsv(106, 69%, 48%)
CMYKcmyk(53.3%, 0%, 68.9%, 52.2%)
CIE-LABlab(45.54, -37.37, 38.30)
CIE-LCHlch(45.54, 53.52, 134.30°)
OKLaboklab(51.8% -0.1027 0.0881)
OKLCHoklch(51.8% 0.135 139.4)
XYZxyz(8.9964, 14.9282, 4.2407)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A26 #67267A
analogous
#637A26 #397A26 #267A3D
triadic
#397A26 #26397A #7A2639
tetradic
#397A26 #26637A #67267A #7A3D26
square
#397A26 #26637A #67267A #7A3D26
split-complementary
#397A26 #3D267A #7A2663
monochromatic
#0D1D09 #234B17 #397A26 #4FA935 #6CC951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A26#FFFFFF#000000##FFFFFF
##397A261.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)
#7E6F1B
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#337669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a26;
/* rgb */ color: rgb(57, 122, 38);
/* oklch */ color: oklch(51.8% 0.135 139.4);
Tailwind
colors: {
  custom: {
    50: '#76a165',
    500: '#397a26',
    950: '#000000',
  },
}
SCSS
$custom: #397a26;
$custom-light: #76a165;
$custom-dark: #000000;
JSON
{
  "hex": "#397a26",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 106.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.13532,
    "h": 139.4
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#397A26
secondary
#9750AC
accent
#4CDCBB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397A26

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

Preview Lab → · Contrast checker → · Palette generator →

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