#386815#386815

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

Color values

HEX#386815
RGBrgb(56, 104, 21)
HSLhsl(95, 66%, 25%)
HSVhsv(95, 80%, 41%)
CMYKcmyk(46.2%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.23, -31.36, 38.85)
CIE-LCHlch(39.23, 49.93, 128.91°)
OKLaboklab(46.57% -0.0876 0.0868)
OKLCHoklch(46.57% 0.123 135.3)
XYZxyz(6.7164, 10.7951, 2.4391)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386815 #451568
analogous
#626815 #386815 #15681C
triadic
#386815 #153868 #681538
tetradic
#386815 #156268 #451568 #681C15
square
#386815 #156268 #451568 #681C15
split-complementary
#386815 #1C1568 #681562
monochromatic
#0E1905 #1D350B #386815 #539B1F #6FCE2A

Accessibility & contrast

On white

6.65
#386815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #386815
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386815#FFFFFF#000000##FFFFFF
##3868151.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#376458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #386815;
/* rgb */ color: rgb(56, 104, 21);
/* oklch */ color: oklch(46.6% 0.123 135.3);
Tailwind
colors: {
  custom: {
    50: '#749359',
    500: '#386815',
    950: '#000000',
  },
}
SCSS
$custom: #386815;
$custom-light: #749359;
$custom-dark: #000000;
JSON
{
  "hex": "#386815",
  "rgb": {
    "r": 56,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 94.699,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.12332,
    "h": 135.3
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#386815
secondary
#743A9F
accent
#3EE9A1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #386815

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

Preview Lab → · Contrast checker → · Palette generator →

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