#386A16#386A16

#386A16 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.1% C 0.125 H 135.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#386A16
RGBrgb(56, 106, 22)
HSLhsl(96, 66%, 25%)
HSVhsv(96, 79%, 42%)
CMYKcmyk(47.2%, 0%, 79.2%, 58.4%)
CIE-LABlab(39.93, -32.18, 39.15)
CIE-LCHlch(39.93, 50.68, 129.42°)
OKLaboklab(47.14% -0.0897 0.0876)
OKLCHoklch(47.14% 0.125 135.7)
XYZxyz(6.9296, 11.2063, 2.5568)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386A16 #48166A
analogous
#626A16 #386A16 #166A1E
triadic
#386A16 #16386A #6A1638
tetradic
#386A16 #16626A #48166A #6A1E16
square
#386A16 #16626A #48166A #6A1E16
split-complementary
#386A16 #1E166A #6A1662
monochromatic
#0D1905 #1D370B #386A16 #539D21 #6ECF2B

Accessibility & contrast

On white

6.48
#386A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#386A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386A16
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386A16#FFFFFF#000000##FFFFFF
##386A161.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6104
Deuteranopia (green-blind)
#675D1F
Tritanopia (blue-blind)
#36665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #386a16;
/* rgb */ color: rgb(56, 106, 22);
/* oklch */ color: oklch(47.1% 0.125 135.7);
Tailwind
colors: {
  custom: {
    50: '#74955a',
    500: '#386a16',
    950: '#000000',
  },
}
SCSS
$custom: #386a16;
$custom-light: #74955a;
$custom-dark: #000000;
JSON
{
  "hex": "#386a16",
  "rgb": {
    "r": 56,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 95.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.1254,
    "h": 135.7
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#386A16
secondary
#783BA0
accent
#3FE9A4
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386A16

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

Preview Lab → · Contrast checker → · Palette generator →

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