#386316#386316

#386316 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.116 H 134.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#386316
RGBrgb(56, 99, 22)
HSLhsl(94, 64%, 24%)
HSVhsv(94, 78%, 39%)
CMYKcmyk(43.4%, 0%, 77.8%, 61.2%)
CIE-LABlab(37.52, -29.02, 36.78)
CIE-LCHlch(37.52, 46.85, 128.27°)
OKLaboklab(45.17% -0.0812 0.0826)
OKLCHoklch(45.17% 0.116 134.5)
XYZxyz(6.2374, 9.8220, 2.3261)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386316 #411663
analogous
#5E6316 #386316 #16631A
triadic
#386316 #163863 #631638
tetradic
#386316 #165E63 #411663 #631A16
square
#386316 #165E63 #411663 #631A16
split-complementary
#386316 #1A1663 #63165E
monochromatic
#0E1906 #1C310B #386316 #549521 #71C72C

Accessibility & contrast

On white

7.08
#386316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#386316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386316
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386316#FFFFFF#000000##FFFFFF
##3863161.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B08
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#375F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #386316;
/* rgb */ color: rgb(56, 99, 22);
/* oklch */ color: oklch(45.2% 0.116 134.5);
Tailwind
colors: {
  custom: {
    50: '#739059',
    500: '#386316',
    950: '#000000',
  },
}
SCSS
$custom: #386316;
$custom-light: #739059;
$custom-dark: #000000;
JSON
{
  "hex": "#386316",
  "rgb": {
    "r": 56,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 93.506,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.11585,
    "h": 134.5
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#386316
secondary
#703B9A
accent
#41E79E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #386316

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

Preview Lab → · Contrast checker → · Palette generator →

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