#386712#386712

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

Color values

HEX#386712
RGBrgb(56, 103, 18)
HSLhsl(93, 70%, 24%)
HSVhsv(93, 83%, 40%)
CMYKcmyk(45.6%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.87, -31.10, 39.58)
CIE-LCHlch(38.87, 50.34, 128.16°)
OKLaboklab(46.27% -0.0871 0.0878)
OKLCHoklch(46.27% 0.124 134.8)
XYZxyz(6.5902, 10.5845, 2.2679)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386712 #411267
analogous
#626712 #386712 #126716
triadic
#386712 #123867 #671238
tetradic
#386712 #126267 #411267 #671612
square
#386712 #126267 #411267 #671612
split-complementary
#386712 #161267 #671262
monochromatic
#0E1A05 #1C3309 #386712 #549B1B #71CF24

Accessibility & contrast

On white

6.74
#386712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #386712
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386712#FFFFFF#000000##FFFFFF
##3867121.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#376357
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #386712;
/* rgb */ color: rgb(56, 103, 18);
/* oklch */ color: oklch(46.3% 0.124 134.8);
Tailwind
colors: {
  custom: {
    50: '#749358',
    500: '#386712',
    950: '#000000',
  },
}
SCSS
$custom: #386712;
$custom-light: #749358;
$custom-dark: #000000;
JSON
{
  "hex": "#386712",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 93.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.12372,
    "h": 134.8
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#386712
secondary
#70369F
accent
#3BED9D
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #386712

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

Preview Lab → · Contrast checker → · Palette generator →

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