#386612#386612

#386612 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 46.0% C 0.122 H 134.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#386612
RGBrgb(56, 102, 18)
HSLhsl(93, 70%, 24%)
HSVhsv(93, 82%, 40%)
CMYKcmyk(45.1%, 0%, 82.4%, 60%)
CIE-LABlab(38.53, -30.66, 39.25)
CIE-LCHlch(38.53, 49.81, 127.99°)
OKLaboklab(45.98% -0.0859 0.0871)
OKLCHoklch(45.98% 0.122 134.6)
XYZxyz(6.4913, 10.3868, 2.2350)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386612 #401266
analogous
#626612 #386612 #126616
triadic
#386612 #123866 #661238
tetradic
#386612 #126266 #401266 #661612
square
#386612 #126266 #401266 #661612
split-complementary
#386612 #161266 #661262
monochromatic
#0E1A05 #1B3209 #386612 #559A1B #71CE24

Accessibility & contrast

On white

6.82
#386612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#386612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386612
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386612#FFFFFF#000000##FFFFFF
##3866121.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#376256
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #386612;
/* rgb */ color: rgb(56, 102, 18);
/* oklch */ color: oklch(46.0% 0.122 134.6);
Tailwind
colors: {
  custom: {
    50: '#749258',
    500: '#386612',
    950: '#000000',
  },
}
SCSS
$custom: #386612;
$custom-light: #749258;
$custom-dark: #000000;
JSON
{
  "hex": "#386612",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 92.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.12238,
    "h": 134.6
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#386612
secondary
#6F369E
accent
#3BED9C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #386612

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

Preview Lab → · Contrast checker → · Palette generator →

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