#386117#386117

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

Color values

HEX#386117
RGBrgb(56, 97, 23)
HSLhsl(93, 62%, 24%)
HSVhsv(93, 76%, 38%)
CMYKcmyk(42.3%, 0%, 76.3%, 62%)
CIE-LABlab(36.84, -28.01, 35.69)
CIE-LCHlch(36.84, 45.37, 128.12°)
OKLaboklab(44.61% -0.0784 0.0805)
OKLCHoklch(44.61% 0.112 134.2)
XYZxyz(6.0601, 9.4517, 2.3155)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386117 #401761
analogous
#5D6117 #386117 #17611B
triadic
#386117 #173861 #611738
tetradic
#386117 #175D61 #401761 #611B17
square
#386117 #175D61 #401761 #611B17
split-complementary
#386117 #1B1761 #61175D
monochromatic
#0E1906 #1B300B #386117 #559223 #71C42E

Accessibility & contrast

On white

7.27
#386117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#386117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386117
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386117#FFFFFF#000000##FFFFFF
##3861171.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#385D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #386117;
/* rgb */ color: rgb(56, 97, 23);
/* oklch */ color: oklch(44.6% 0.112 134.2);
Tailwind
colors: {
  custom: {
    50: '#738e59',
    500: '#386117',
    950: '#000000',
  },
}
SCSS
$custom: #386117;
$custom-light: #738e59;
$custom-dark: #000000;
JSON
{
  "hex": "#386117",
  "rgb": {
    "r": 56,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 93.243,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44611,
    "c": 0.11238,
    "h": 134.2
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#386117
secondary
#6F3C98
accent
#43E59D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #386117

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

Preview Lab → · Contrast checker → · Palette generator →

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