#386A12#386A12

#386A12 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.1% C 0.128 H 135.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#386A12
RGBrgb(56, 106, 18)
HSLhsl(94, 71%, 24%)
HSVhsv(94, 83%, 42%)
CMYKcmyk(47.2%, 0%, 83%, 58.4%)
CIE-LABlab(39.90, -32.44, 40.55)
CIE-LCHlch(39.90, 51.93, 128.66°)
OKLaboklab(47.11% -0.0907 0.0899)
OKLCHoklch(47.11% 0.128 135.3)
XYZxyz(6.8939, 11.1921, 2.3692)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386A12 #44126A
analogous
#646A12 #386A12 #126A18
triadic
#386A12 #12386A #6A1238
tetradic
#386A12 #12646A #44126A #6A1812
square
#386A12 #12646A #44126A #6A1812
split-complementary
#386A12 #18126A #6A1264
monochromatic
#0E1A04 #1C3609 #386A12 #549E1B #6FD324

Accessibility & contrast

On white

6.48
#386A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#386A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386A12
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386A12#FFFFFF#000000##FFFFFF
##386A121.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#36665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #386a12;
/* rgb */ color: rgb(56, 106, 18);
/* oklch */ color: oklch(47.1% 0.128 135.3);
Tailwind
colors: {
  custom: {
    50: '#749558',
    500: '#386a12',
    950: '#000000',
  },
}
SCSS
$custom: #386a12;
$custom-light: #749558;
$custom-dark: #000000;
JSON
{
  "hex": "#386a12",
  "rgb": {
    "r": 56,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 94.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.12768,
    "h": 135.3
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#386A12
secondary
#7336A2
accent
#3AEEA0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386A12

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

Preview Lab → · Contrast checker → · Palette generator →

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