#396028#396028

#396028 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.6% C 0.095 H 137.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#396028
RGBrgb(57, 96, 40)
HSLhsl(102, 41%, 27%)
HSVhsv(102, 58%, 38%)
CMYKcmyk(40.6%, 0%, 58.3%, 62.4%)
CIE-LABlab(36.72, -25.40, 27.37)
CIE-LCHlch(36.72, 37.34, 132.87°)
OKLaboklab(44.59% -0.07 0.0649)
OKLCHoklch(44.59% 0.095 137.1)
XYZxyz(6.2530, 9.3885, 3.4898)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396028 #4F2860
analogous
#556028 #396028 #286033
triadic
#396028 #283960 #602839
tetradic
#396028 #285560 #4F2860 #603328
square
#396028 #285560 #4F2860 #603328
split-complementary
#396028 #332860 #602855
monochromatic
#0D1609 #1F3516 #396028 #538B3A #6DB54D

Accessibility & contrast

On white

7.30
#396028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#396028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396028
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396028#FFFFFF#000000##FFFFFF
##3960281.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5E552C
Tritanopia (blue-blind)
#375D53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #396028;
/* rgb */ color: rgb(57, 96, 40);
/* oklch */ color: oklch(44.6% 0.095 137.1);
Tailwind
colors: {
  custom: {
    50: '#728d64',
    500: '#396028',
    950: '#000000',
  },
}
SCSS
$custom: #396028;
$custom-light: #728d64;
$custom-dark: #000000;
JSON
{
  "hex": "#396028",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 101.786,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.09546,
    "h": 137.1
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#396028
secondary
#7F5193
accent
#57D1AC
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C05
muted
#7B7D7A

Preview Lab

Preview with #396028

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

Preview Lab → · Contrast checker → · Palette generator →

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