#396126#396126

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

Color values

HEX#396126
RGBrgb(57, 97, 38)
HSLhsl(101, 44%, 26%)
HSVhsv(101, 61%, 38%)
CMYKcmyk(41.2%, 0%, 60.8%, 62%)
CIE-LABlab(37.04, -26.14, 28.80)
CIE-LCHlch(37.04, 38.90, 132.23°)
OKLaboklab(44.84% -0.0721 0.0679)
OKLCHoklch(44.84% 0.099 136.8)
XYZxyz(6.3117, 9.5589, 3.3458)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396126 #4E2661
analogous
#576126 #396126 #266131
triadic
#396126 #263961 #612639
tetradic
#396126 #265761 #4E2661 #613126
square
#396126 #265761 #4E2661 #613126
split-complementary
#396126 #312661 #612657
monochromatic
#0D1609 #1F3515 #396126 #538D37 #6DB84A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396126#FFFFFF#000000##FFFFFF
##3961261.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)
#645920
Deuteranopia (green-blind)
#5F562A
Tritanopia (blue-blind)
#375E54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #396126;
/* rgb */ color: rgb(57, 97, 38);
/* oklch */ color: oklch(44.8% 0.099 136.8);
Tailwind
colors: {
  custom: {
    50: '#728e62',
    500: '#396126',
    950: '#000000',
  },
}
SCSS
$custom: #396126;
$custom-light: #728e62;
$custom-dark: #000000;
JSON
{
  "hex": "#396126",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 38
  },
  "hsl": {
    "h": 100.678,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.09904,
    "h": 136.8
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#396126
secondary
#7E4F94
accent
#54D3AB
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#080C05
muted
#7B7D79

Preview Lab

Preview with #396126

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

Preview Lab → · Contrast checker → · Palette generator →

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