#396540#396540

#396540 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.4% C 0.077 H 148.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#396540
RGBrgb(57, 101, 64)
HSLhsl(130, 28%, 31%)
HSVhsv(130, 44%, 40%)
CMYKcmyk(43.6%, 0%, 36.6%, 60.4%)
CIE-LABlab(38.81, -24.03, 16.32)
CIE-LCHlch(38.81, 29.05, 145.82°)
OKLaboklab(46.41% -0.0655 0.0409)
OKLCHoklch(46.41% 0.077 148)
XYZxyz(7.2660, 10.5469, 6.5024)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396540 #65395E
analogous
#486539 #396540 #396556
triadic
#396540 #403965 #654039
tetradic
#396540 #394865 #65395E #655639
square
#396540 #394865 #65395E #655639
split-complementary
#396540 #563965 #653948
monochromatic
#0D170E #233E27 #396540 #4F8C59 #6CAC76

Accessibility & contrast

On white

6.75
#396540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#396540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396540
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396540#FFFFFF#000000##FFFFFF
##3965401.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3E
Deuteranopia (green-blind)
#5F5A42
Tritanopia (blue-blind)
#32635B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #396540;
/* rgb */ color: rgb(57, 101, 64);
/* oklch */ color: oklch(46.4% 0.077 148.0);
Tailwind
colors: {
  custom: {
    50: '#729175',
    500: '#396540',
    950: '#000000',
  },
}
SCSS
$custom: #396540;
$custom-light: #729175;
$custom-dark: #000000;
JSON
{
  "hex": "#396540",
  "rgb": {
    "r": 57,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 129.545,
    "s": 27.848,
    "l": 30.98
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.07719,
    "h": 148
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#396540
secondary
#95658D
accent
#64B5C4
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080D08
muted
#7B7D7B

Preview Lab

Preview with #396540

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

Preview Lab → · Contrast checker → · Palette generator →

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