#396828#396828

#396828 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.8% C 0.108 H 138.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#396828
RGBrgb(57, 104, 40)
HSLhsl(104, 44%, 28%)
HSVhsv(104, 62%, 41%)
CMYKcmyk(45.2%, 0%, 61.5%, 59.2%)
CIE-LABlab(39.45, -29.23, 30.56)
CIE-LCHlch(39.45, 42.29, 133.72°)
OKLaboklab(46.81% -0.0804 0.0719)
OKLCHoklch(46.81% 0.108 138.2)
XYZxyz(7.0204, 10.9233, 3.7456)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396828 #572868
analogous
#596828 #396828 #286837
triadic
#396828 #283968 #682839
tetradic
#396828 #285968 #572868 #683728
square
#396828 #285968 #572868 #683728
split-complementary
#396828 #372868 #682859
monochromatic
#0C1609 #213C17 #396828 #519439 #6CBB4F

Accessibility & contrast

On white

6.59
#396828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#396828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396828
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396828#FFFFFF#000000##FFFFFF
##3968281.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F21
Deuteranopia (green-blind)
#655B2D
Tritanopia (blue-blind)
#36645A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396828;
/* rgb */ color: rgb(57, 104, 40);
/* oklch */ color: oklch(46.8% 0.108 138.2);
Tailwind
colors: {
  custom: {
    50: '#739364',
    500: '#396828',
    950: '#000000',
  },
}
SCSS
$custom: #396828;
$custom-light: #739364;
$custom-dark: #000000;
JSON
{
  "hex": "#396828",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 104.063,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.10784,
    "h": 138.2
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#396828
secondary
#87519B
accent
#54D4B2
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #396828

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

Preview Lab → · Contrast checker → · Palette generator →

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