#386A17#386A17

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

Color values

HEX#386A17
RGBrgb(56, 106, 23)
HSLhsl(96, 64%, 25%)
HSVhsv(96, 78%, 42%)
CMYKcmyk(47.2%, 0%, 78.3%, 58.4%)
CIE-LABlab(39.93, -32.11, 38.78)
CIE-LCHlch(39.93, 50.35, 129.63°)
OKLaboklab(47.15% -0.0895 0.087)
OKLCHoklch(47.15% 0.125 135.8)
XYZxyz(6.9394, 11.2103, 2.6086)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386A17 #49176A
analogous
#616A17 #386A17 #176A20
triadic
#386A17 #17386A #6A1738
tetradic
#386A17 #17616A #49176A #6A2017
square
#386A17 #17616A #49176A #6A2017
split-complementary
#386A17 #20176A #6A1761
monochromatic
#0D1905 #1D380C #386A17 #539C22 #6DCF2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386A17#FFFFFF#000000##FFFFFF
##386A171.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)
#6E6106
Deuteranopia (green-blind)
#675D1F
Tritanopia (blue-blind)
#36665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #386a17;
/* rgb */ color: rgb(56, 106, 23);
/* oklch */ color: oklch(47.1% 0.125 135.8);
Tailwind
colors: {
  custom: {
    50: '#74955b',
    500: '#386a17',
    950: '#000000',
  },
}
SCSS
$custom: #386a17;
$custom-light: #74955b;
$custom-dark: #000000;
JSON
{
  "hex": "#386a17",
  "rgb": {
    "r": 56,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 96.145,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.12478,
    "h": 135.8
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#386A17
secondary
#793DA0
accent
#40E7A5
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386A17

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

Preview Lab → · Contrast checker → · Palette generator →

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