#396138#396138

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

Color values

HEX#396138
RGBrgb(57, 97, 56)
HSLhsl(119, 27%, 30%)
HSVhsv(119, 42%, 38%)
CMYKcmyk(41.2%, 0%, 42.3%, 62%)
CIE-LABlab(37.31, -23.48, 19.06)
CIE-LCHlch(37.31, 30.24, 140.93°)
OKLaboklab(45.14% -0.064 0.0472)
OKLCHoklch(45.14% 0.079 143.6)
XYZxyz(6.6755, 9.7044, 5.2620)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396138 #603861
analogous
#4D6138 #396138 #38614C
triadic
#396138 #383961 #613839
tetradic
#396138 #384D61 #603861 #614C38
square
#396138 #384D61 #603861 #614C38
split-complementary
#396138 #4C3861 #61384D
monochromatic
#0B130B #223A22 #396138 #50884E #6CA96A

Accessibility & contrast

On white

7.14
#396138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#396138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396138
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396138#FFFFFF#000000##FFFFFF
##3961381.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A35
Deuteranopia (green-blind)
#5D563A
Tritanopia (blue-blind)
#355F57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396138;
/* rgb */ color: rgb(57, 97, 56);
/* oklch */ color: oklch(45.1% 0.079 143.6);
Tailwind
colors: {
  custom: {
    50: '#718e6f',
    500: '#396138',
    950: '#000000',
  },
}
SCSS
$custom: #396138;
$custom-light: #718e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#396138",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 56
  },
  "hsl": {
    "h": 118.537,
    "s": 26.797,
    "l": 30
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.07947,
    "h": 143.6
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#396138
secondary
#906391
accent
#65C3C1
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#080C07
muted
#7B7D7A

Preview Lab

Preview with #396138

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

Preview Lab → · Contrast checker → · Palette generator →

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