#386817#386817

#386817 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.122 H 135.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#386817
RGBrgb(56, 104, 23)
HSLhsl(96, 64%, 25%)
HSVhsv(96, 78%, 41%)
CMYKcmyk(46.2%, 0%, 77.9%, 59.2%)
CIE-LABlab(39.25, -31.22, 38.10)
CIE-LCHlch(39.25, 49.26, 129.33°)
OKLaboklab(46.58% -0.0871 0.0855)
OKLCHoklch(46.58% 0.122 135.5)
XYZxyz(6.7357, 10.8028, 2.5407)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386817 #471768
analogous
#606817 #386817 #17681F
triadic
#386817 #173868 #681738
tetradic
#386817 #176068 #471768 #681F17
square
#386817 #176068 #471768 #681F17
split-complementary
#386817 #1F1768 #681760
monochromatic
#0D1906 #1D360C #386817 #539A22 #6ECC2D

Accessibility & contrast

On white

6.64
#386817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#386817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386817
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386817#FFFFFF#000000##FFFFFF
##3868171.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#366458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #386817;
/* rgb */ color: rgb(56, 104, 23);
/* oklch */ color: oklch(46.6% 0.122 135.5);
Tailwind
colors: {
  custom: {
    50: '#74935a',
    500: '#386817',
    950: '#000000',
  },
}
SCSS
$custom: #386817;
$custom-light: #74935a;
$custom-dark: #000000;
JSON
{
  "hex": "#386817",
  "rgb": {
    "r": 56,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 95.556,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.12207,
    "h": 135.5
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#386817
secondary
#763D9E
accent
#41E7A3
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #386817

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

Preview Lab → · Contrast checker → · Palette generator →

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