#396117#396117

#396117 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.7% C 0.112 H 133.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#396117
RGBrgb(57, 97, 23)
HSLhsl(92, 62%, 24%)
HSVhsv(92, 76%, 38%)
CMYKcmyk(41.2%, 0%, 76.3%, 62%)
CIE-LABlab(36.89, -27.62, 35.77)
CIE-LCHlch(36.89, 45.19, 127.68°)
OKLaboklab(44.67% -0.0774 0.0806)
OKLCHoklch(44.67% 0.112 133.8)
XYZxyz(6.1166, 9.4808, 2.3181)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396117 #3F1761
analogous
#5E6117 #396117 #17611A
triadic
#396117 #173961 #611739
tetradic
#396117 #175E61 #3F1761 #611A17
square
#396117 #175E61 #3F1761 #611A17
split-complementary
#396117 #1A1761 #61175E
monochromatic
#0F1906 #1C300B #396117 #569223 #73C42E

Accessibility & contrast

On white

7.25
#396117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #396117
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396117#FFFFFF#000000##FFFFFF
##3961171.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#395D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #396117;
/* rgb */ color: rgb(57, 97, 23);
/* oklch */ color: oklch(44.7% 0.112 133.8);
Tailwind
colors: {
  custom: {
    50: '#738e59',
    500: '#396117',
    950: '#000000',
  },
}
SCSS
$custom: #396117;
$custom-light: #738e59;
$custom-dark: #000000;
JSON
{
  "hex": "#396117",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 92.432,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4467,
    "c": 0.1118,
    "h": 133.8
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#396117
secondary
#6E3C98
accent
#43E59A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396117

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

Preview Lab → · Contrast checker → · Palette generator →

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