#386E17#386E17

#386E17 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.130 H 136.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#386E17
RGBrgb(56, 110, 23)
HSLhsl(97, 65%, 26%)
HSVhsv(97, 79%, 43%)
CMYKcmyk(49.1%, 0%, 79.1%, 56.9%)
CIE-LABlab(41.30, -33.86, 40.12)
CIE-LCHlch(41.30, 52.50, 130.16°)
OKLaboklab(48.27% -0.0942 0.0898)
OKLCHoklch(48.27% 0.13 136.4)
XYZxyz(7.3613, 12.0540, 2.7492)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E17 #4D176E
analogous
#636E17 #386E17 #176E21
triadic
#386E17 #17386E #6E1738
tetradic
#386E17 #17636E #4D176E #6E2117
square
#386E17 #17636E #4D176E #6E2117
split-complementary
#386E17 #21176E #6E1763
monochromatic
#0D1905 #1E3B0C #386E17 #52A122 #6CD32C

Accessibility & contrast

On white

6.16
#386E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#386E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386E17
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386E17#FFFFFF#000000##FFFFFF
##386E171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#356A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386e17;
/* rgb */ color: rgb(56, 110, 23);
/* oklch */ color: oklch(48.3% 0.130 136.4);
Tailwind
colors: {
  custom: {
    50: '#74985b',
    500: '#386e17',
    950: '#000000',
  },
}
SCSS
$custom: #386e17;
$custom-light: #74985b;
$custom-dark: #000000;
JSON
{
  "hex": "#386e17",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 97.241,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.13013,
    "h": 136.4
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#386E17
secondary
#7D3DA4
accent
#3FE8A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386E17

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

Preview Lab → · Contrast checker → · Palette generator →

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