#386D17#386D17

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

Color values

HEX#386D17
RGBrgb(56, 109, 23)
HSLhsl(97, 65%, 26%)
HSVhsv(97, 79%, 43%)
CMYKcmyk(48.6%, 0%, 78.9%, 57.3%)
CIE-LABlab(40.96, -33.43, 39.79)
CIE-LCHlch(40.96, 51.97, 130.04°)
OKLaboklab(47.99% -0.093 0.0891)
OKLCHoklch(47.99% 0.129 136.2)
XYZxyz(7.2540, 11.8394, 2.7134)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386D17 #4C176D
analogous
#636D17 #386D17 #176D21
triadic
#386D17 #17386D #6D1738
tetradic
#386D17 #17636D #4C176D #6D2117
square
#386D17 #17636D #4C176D #6D2117
split-complementary
#386D17 #21176D #6D1763
monochromatic
#0D1905 #1E3A0C #386D17 #52A022 #6CD22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386D17#FFFFFF#000000##FFFFFF
##386D171.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)
#716305
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#36695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386d17;
/* rgb */ color: rgb(56, 109, 23);
/* oklch */ color: oklch(48.0% 0.129 136.2);
Tailwind
colors: {
  custom: {
    50: '#74975b',
    500: '#386d17',
    950: '#000000',
  },
}
SCSS
$custom: #386d17;
$custom-light: #74975b;
$custom-dark: #000000;
JSON
{
  "hex": "#386d17",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 96.977,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.1288,
    "h": 136.2
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#386D17
secondary
#7C3DA3
accent
#40E8A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386D17

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

Preview Lab → · Contrast checker → · Palette generator →

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