#386B17#386B17

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

Color values

HEX#386B17
RGBrgb(56, 107, 23)
HSLhsl(96, 65%, 25%)
HSVhsv(96, 79%, 42%)
CMYKcmyk(47.7%, 0%, 78.5%, 58%)
CIE-LABlab(40.28, -32.55, 39.12)
CIE-LCHlch(40.28, 50.89, 129.77°)
OKLaboklab(47.43% -0.0907 0.0877)
OKLCHoklch(47.43% 0.126 136)
XYZxyz(7.0431, 11.4176, 2.6431)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386B17 #4A176B
analogous
#626B17 #386B17 #176B20
triadic
#386B17 #17386B #6B1738
tetradic
#386B17 #17626B #4A176B #6B2017
square
#386B17 #17626B #4A176B #6B2017
split-complementary
#386B17 #20176B #6B1762
monochromatic
#0D1905 #1E390C #386B17 #529D22 #6DD02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386B17#FFFFFF#000000##FFFFFF
##386B171.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)
#6F6206
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#36675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #386b17;
/* rgb */ color: rgb(56, 107, 23);
/* oklch */ color: oklch(47.4% 0.126 136.0);
Tailwind
colors: {
  custom: {
    50: '#74965b',
    500: '#386b17',
    950: '#000000',
  },
}
SCSS
$custom: #386b17;
$custom-light: #74965b;
$custom-dark: #000000;
JSON
{
  "hex": "#386b17",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 96.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.12613,
    "h": 136
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#386B17
secondary
#7A3DA1
accent
#40E8A6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386B17

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

Preview Lab → · Contrast checker → · Palette generator →

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