#397D26#397D26

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

Color values

HEX#397D26
RGBrgb(57, 125, 38)
HSLhsl(107, 53%, 32%)
HSVhsv(107, 70%, 49%)
CMYKcmyk(54.4%, 0%, 69.6%, 51%)
CIE-LABlab(46.55, -38.62, 39.39)
CIE-LCHlch(46.55, 55.16, 134.43°)
OKLaboklab(52.63% -0.1061 0.0904)
OKLCHoklch(52.63% 0.139 139.6)
XYZxyz(9.3704, 15.6763, 4.3654)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D26 #6A267D
analogous
#647D26 #397D26 #267D3F
triadic
#397D26 #26397D #7D2639
tetradic
#397D26 #26647D #6A267D #7D3F26
square
#397D26 #26647D #6A267D #7D3F26
split-complementary
#397D26 #3F267D #7D2664
monochromatic
#0E1F09 #244E18 #397D26 #4EAC34 #6DCB53

Accessibility & contrast

On white

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

On black

4.14
#397D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397D26#FFFFFF#000000##FFFFFF
##397D261.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d26;
/* rgb */ color: rgb(57, 125, 38);
/* oklch */ color: oklch(52.6% 0.139 139.6);
Tailwind
colors: {
  custom: {
    50: '#77a365',
    500: '#397d26',
    950: '#000000',
  },
}
SCSS
$custom: #397d26;
$custom-light: #77a365;
$custom-dark: #000000;
JSON
{
  "hex": "#397d26",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 106.897,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.13937,
    "h": 139.6
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#397D26
secondary
#9A50AF
accent
#4BDDBD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D26

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

Preview Lab → · Contrast checker → · Palette generator →

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