#386917#386917

#386917 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.123 H 135.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#386917
RGBrgb(56, 105, 23)
HSLhsl(96, 64%, 25%)
HSVhsv(96, 78%, 41%)
CMYKcmyk(46.7%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.59, -31.67, 38.44)
CIE-LCHlch(39.59, 49.80, 129.48°)
OKLaboklab(46.86% -0.0883 0.0862)
OKLCHoklch(46.86% 0.123 135.7)
XYZxyz(6.8369, 11.0054, 2.5744)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386917 #481769
analogous
#616917 #386917 #17691F
triadic
#386917 #173869 #691738
tetradic
#386917 #176169 #481769 #691F17
square
#386917 #176169 #481769 #691F17
split-complementary
#386917 #1F1769 #691761
monochromatic
#0D1905 #1D370C #386917 #539B22 #6ECD2D

Accessibility & contrast

On white

6.56
#386917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#386917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386917
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386917#FFFFFF#000000##FFFFFF
##3869171.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#665C1F
Tritanopia (blue-blind)
#366559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #386917;
/* rgb */ color: rgb(56, 105, 23);
/* oklch */ color: oklch(46.9% 0.123 135.7);
Tailwind
colors: {
  custom: {
    50: '#74945a',
    500: '#386917',
    950: '#000000',
  },
}
SCSS
$custom: #386917;
$custom-light: #74945a;
$custom-dark: #000000;
JSON
{
  "hex": "#386917",
  "rgb": {
    "r": 56,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 95.854,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.12343,
    "h": 135.7
  },
  "luminance": 0.11006
}

Semantic roles & 50–950 ramp

primary
#386917
secondary
#783D9F
accent
#41E7A4
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #386917

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

Preview Lab → · Contrast checker → · Palette generator →

#386917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva