#397F26#397F26

#397F26 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.142 H 139.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397F26
RGBrgb(57, 127, 38)
HSLhsl(107, 54%, 32%)
HSVhsv(107, 70%, 50%)
CMYKcmyk(55.1%, 0%, 70.1%, 50.2%)
CIE-LABlab(47.22, -39.44, 40.11)
CIE-LCHlch(47.22, 56.25, 134.52°)
OKLaboklab(53.19% -0.1083 0.0919)
OKLCHoklch(53.19% 0.142 139.7)
XYZxyz(9.6262, 16.1878, 4.4506)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F26 #6C267F
analogous
#667F26 #397F26 #267F40
triadic
#397F26 #26397F #7F2639
tetradic
#397F26 #26667F #6C267F #7F4026
square
#397F26 #26667F #6C267F #7F4026
split-complementary
#397F26 #40267F #7F2666
monochromatic
#0F210A #245018 #397F26 #4EAE34 #6DCC54

Accessibility & contrast

On white

4.96
#397F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#397F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F26
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F26#FFFFFF#000000##FFFFFF
##397F261.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#327B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f26;
/* rgb */ color: rgb(57, 127, 38);
/* oklch */ color: oklch(53.2% 0.142 139.7);
Tailwind
colors: {
  custom: {
    50: '#77a565',
    500: '#397f26',
    950: '#000000',
  },
}
SCSS
$custom: #397f26;
$custom-light: #77a565;
$custom-dark: #000000;
JSON
{
  "hex": "#397f26",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 107.191,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.14204,
    "h": 139.7
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#397F26
secondary
#9C51B0
accent
#4ADDBE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F26

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

Preview Lab → · Contrast checker → · Palette generator →

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