#396038#396038

#396038 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.9% C 0.078 H 143.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#396038
RGBrgb(57, 96, 56)
HSLhsl(119, 26%, 30%)
HSVhsv(119, 42%, 38%)
CMYKcmyk(40.6%, 0%, 41.7%, 62.4%)
CIE-LABlab(36.97, -22.97, 18.62)
CIE-LCHlch(36.97, 29.57, 140.97°)
OKLaboklab(44.87% -0.0626 0.0461)
OKLCHoklch(44.87% 0.078 143.6)
XYZxyz(6.5837, 9.5208, 5.2314)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396038 #5F3860
analogous
#4D6038 #396038 #38604B
triadic
#396038 #383960 #603839
tetradic
#396038 #384D60 #5F3860 #604B38
square
#396038 #384D60 #5F3860 #604B38
split-complementary
#396038 #4B3860 #60384D
monochromatic
#0B130B #223921 #396038 #50874F #6CA86A

Accessibility & contrast

On white

7.23
#396038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#396038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396038
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396038#FFFFFF#000000##FFFFFF
##3960381.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625935
Deuteranopia (green-blind)
#5C563A
Tritanopia (blue-blind)
#355E56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #396038;
/* rgb */ color: rgb(57, 96, 56);
/* oklch */ color: oklch(44.9% 0.078 143.6);
Tailwind
colors: {
  custom: {
    50: '#718d6f',
    500: '#396038',
    950: '#000000',
  },
}
SCSS
$custom: #396038;
$custom-light: #718d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#396038",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 56
  },
  "hsl": {
    "h": 118.5,
    "s": 26.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.07775,
    "h": 143.6
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#396038
secondary
#8F6390
accent
#65C3C0
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#080C07
muted
#7B7D7A

Preview Lab

Preview with #396038

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

Preview Lab → · Contrast checker → · Palette generator →

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