#396226#396226

#396226 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.1% C 0.101 H 136.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#396226
RGBrgb(57, 98, 38)
HSLhsl(101, 44%, 27%)
HSVhsv(101, 61%, 38%)
CMYKcmyk(41.8%, 0%, 61.2%, 61.6%)
CIE-LABlab(37.38, -26.62, 29.20)
CIE-LCHlch(37.38, 39.51, 132.36°)
OKLaboklab(45.11% -0.0735 0.0687)
OKLCHoklch(45.11% 0.101 136.9)
XYZxyz(6.4047, 9.7448, 3.3768)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396226 #4F2662
analogous
#576226 #396226 #266231
triadic
#396226 #263962 #622639
tetradic
#396226 #265762 #4F2662 #623126
square
#396226 #265762 #4F2662 #623126
split-complementary
#396226 #312662 #622657
monochromatic
#0D1609 #1F3615 #396226 #538E37 #6DB94A

Accessibility & contrast

On white

7.12
#396226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#396226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396226
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396226#FFFFFF#000000##FFFFFF
##3962261.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A20
Deuteranopia (green-blind)
#60572A
Tritanopia (blue-blind)
#375F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396226;
/* rgb */ color: rgb(57, 98, 38);
/* oklch */ color: oklch(45.1% 0.101 136.9);
Tailwind
colors: {
  custom: {
    50: '#728f62',
    500: '#396226',
    950: '#000000',
  },
}
SCSS
$custom: #396226;
$custom-light: #728f62;
$custom-dark: #000000;
JSON
{
  "hex": "#396226",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 101,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.10059,
    "h": 136.9
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#396226
secondary
#7F4F95
accent
#54D4AB
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#080C05
muted
#7B7D79

Preview Lab

Preview with #396226

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

Preview Lab → · Contrast checker → · Palette generator →

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