#386C12#386C12

#386C12 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.7% C 0.130 H 135.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#386C12
RGBrgb(56, 108, 18)
HSLhsl(95, 71%, 25%)
HSVhsv(95, 83%, 42%)
CMYKcmyk(48.1%, 0%, 83.3%, 57.6%)
CIE-LABlab(40.59, -33.31, 41.19)
CIE-LCHlch(40.59, 52.97, 128.96°)
OKLaboklab(47.67% -0.0931 0.0912)
OKLCHoklch(47.67% 0.13 135.6)
XYZxyz(7.1025, 11.6091, 2.4387)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386C12 #46126C
analogous
#656C12 #386C12 #126C19
triadic
#386C12 #12386C #6C1238
tetradic
#386C12 #12656C #46126C #6C1912
square
#386C12 #12656C #46126C #6C1912
split-complementary
#386C12 #19126C #6C1265
monochromatic
#0E1A04 #1D3809 #386C12 #53A01B #6ED523

Accessibility & contrast

On white

6.32
#386C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#386C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386C12
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386C12#FFFFFF#000000##FFFFFF
##386C121.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#36685B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #386c12;
/* rgb */ color: rgb(56, 108, 18);
/* oklch */ color: oklch(47.7% 0.130 135.6);
Tailwind
colors: {
  custom: {
    50: '#749659',
    500: '#386c12',
    950: '#000000',
  },
}
SCSS
$custom: #386c12;
$custom-light: #749659;
$custom-dark: #000000;
JSON
{
  "hex": "#386c12",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 94.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.13031,
    "h": 135.6
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#386C12
secondary
#7536A3
accent
#3AEEA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386C12

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

Preview Lab → · Contrast checker → · Palette generator →

#386C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva