#386D16#386D16

#386D16 is a mid, vivid yellow-green. Relative luminance 0.118; OKLCH L 48.0% C 0.129 H 136.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#386D16
RGBrgb(56, 109, 22)
HSLhsl(97, 66%, 26%)
HSVhsv(97, 80%, 43%)
CMYKcmyk(48.6%, 0%, 79.8%, 57.3%)
CIE-LABlab(40.95, -33.50, 40.15)
CIE-LCHlch(40.95, 52.29, 129.84°)
OKLaboklab(47.98% -0.0933 0.0897)
OKLCHoklch(47.98% 0.129 136.1)
XYZxyz(7.2442, 11.8355, 2.6617)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386D16 #4B166D
analogous
#636D16 #386D16 #166D20
triadic
#386D16 #16386D #6D1638
tetradic
#386D16 #16636D #4B166D #6D2016
square
#386D16 #16636D #4B166D #6D2016
split-complementary
#386D16 #20166D #6D1663
monochromatic
#0D1905 #1E3A0C #386D16 #52A020 #6CD32B

Accessibility & contrast

On white

6.24
#386D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#386D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386D16
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386D16#FFFFFF#000000##FFFFFF
##386D161.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#36695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386d16;
/* rgb */ color: rgb(56, 109, 22);
/* oklch */ color: oklch(48.0% 0.129 136.1);
Tailwind
colors: {
  custom: {
    50: '#74975b',
    500: '#386d16',
    950: '#000000',
  },
}
SCSS
$custom: #386d16;
$custom-light: #74975b;
$custom-dark: #000000;
JSON
{
  "hex": "#386d16",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 96.552,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.1294,
    "h": 136.1
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#386D16
secondary
#7B3CA3
accent
#3EE9A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386D16

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

Preview Lab → · Contrast checker → · Palette generator →

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