#386718#386718

#386718 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.3% C 0.120 H 135.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#386718
RGBrgb(56, 103, 24)
HSLhsl(96, 62%, 25%)
HSVhsv(96, 77%, 40%)
CMYKcmyk(45.6%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.91, -30.69, 37.37)
CIE-LCHlch(38.91, 48.36, 129.40°)
OKLaboklab(46.31% -0.0856 0.0842)
OKLCHoklch(46.31% 0.12 135.5)
XYZxyz(6.6458, 10.6068, 2.5611)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386718 #471867
analogous
#606718 #386718 #18671F
triadic
#386718 #183867 #671838
tetradic
#386718 #186067 #471867 #671F18
square
#386718 #186067 #471867 #671F18
split-complementary
#386718 #1F1867 #671860
monochromatic
#0D1906 #1D350C #386718 #539924 #6ECA2F

Accessibility & contrast

On white

6.73
#386718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#386718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386718
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386718#FFFFFF#000000##FFFFFF
##3867181.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#376358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #386718;
/* rgb */ color: rgb(56, 103, 24);
/* oklch */ color: oklch(46.3% 0.120 135.5);
Tailwind
colors: {
  custom: {
    50: '#73935b',
    500: '#386718',
    950: '#000000',
  },
}
SCSS
$custom: #386718;
$custom-light: #73935b;
$custom-dark: #000000;
JSON
{
  "hex": "#386718",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 95.696,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46309,
    "c": 0.12004,
    "h": 135.5
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#386718
secondary
#763E9D
accent
#43E5A3
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #386718

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

Preview Lab → · Contrast checker → · Palette generator →

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