#386B16#386B16

#386B16 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.4% C 0.127 H 135.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#386B16
RGBrgb(56, 107, 22)
HSLhsl(96, 66%, 25%)
HSVhsv(96, 79%, 42%)
CMYKcmyk(47.7%, 0%, 79.4%, 58%)
CIE-LABlab(40.27, -32.62, 39.49)
CIE-LCHlch(40.27, 51.22, 129.56°)
OKLaboklab(47.42% -0.0909 0.0883)
OKLCHoklch(47.42% 0.127 135.9)
XYZxyz(7.0332, 11.4136, 2.5914)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386B16 #49166B
analogous
#626B16 #386B16 #166B1F
triadic
#386B16 #16386B #6B1638
tetradic
#386B16 #16626B #49166B #6B1F16
square
#386B16 #16626B #49166B #6B1F16
split-complementary
#386B16 #1F166B #6B1662
monochromatic
#0D1905 #1D380C #386B16 #539E20 #6DD12B

Accessibility & contrast

On white

6.40
#386B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#386B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386B16
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386B16#FFFFFF#000000##FFFFFF
##386B161.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#36675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #386b16;
/* rgb */ color: rgb(56, 107, 22);
/* oklch */ color: oklch(47.4% 0.127 135.9);
Tailwind
colors: {
  custom: {
    50: '#74965a',
    500: '#386b16',
    950: '#000000',
  },
}
SCSS
$custom: #386b16;
$custom-light: #74965a;
$custom-dark: #000000;
JSON
{
  "hex": "#386b16",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 96,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.12674,
    "h": 135.9
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#386B16
secondary
#793BA1
accent
#3FE9A5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386B16

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

Preview Lab → · Contrast checker → · Palette generator →

#386B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva