#396128#396128

#396128 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.097 H 137.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#396128
RGBrgb(57, 97, 40)
HSLhsl(102, 42%, 27%)
HSVhsv(102, 59%, 38%)
CMYKcmyk(41.2%, 0%, 58.8%, 62%)
CIE-LABlab(37.06, -25.89, 27.77)
CIE-LCHlch(37.06, 37.97, 132.99°)
OKLaboklab(44.86% -0.0713 0.0658)
OKLCHoklch(44.86% 0.097 137.3)
XYZxyz(6.3449, 9.5721, 3.5204)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396128 #502861
analogous
#566128 #396128 #286134
triadic
#396128 #283961 #612839
tetradic
#396128 #285661 #502861 #613428
square
#396128 #285661 #502861 #613428
split-complementary
#396128 #342861 #612856
monochromatic
#0D1609 #203616 #396128 #528C3A #6DB64E

Accessibility & contrast

On white

7.21
#396128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#396128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396128
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396128#FFFFFF#000000##FFFFFF
##3961281.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645923
Deuteranopia (green-blind)
#5E562C
Tritanopia (blue-blind)
#375E54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #396128;
/* rgb */ color: rgb(57, 97, 40);
/* oklch */ color: oklch(44.9% 0.097 137.3);
Tailwind
colors: {
  custom: {
    50: '#728e64',
    500: '#396128',
    950: '#000000',
  },
}
SCSS
$custom: #396128;
$custom-light: #728e64;
$custom-dark: #000000;
JSON
{
  "hex": "#396128",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 40
  },
  "hsl": {
    "h": 102.105,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44863,
    "c": 0.09704,
    "h": 137.3
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#396128
secondary
#805194
accent
#56D1AD
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C05
muted
#7B7D7A

Preview Lab

Preview with #396128

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

Preview Lab → · Contrast checker → · Palette generator →

#396128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva