#386C15#386C15

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

Color values

HEX#386C15
RGBrgb(56, 108, 21)
HSLhsl(96, 67%, 25%)
HSVhsv(96, 81%, 42%)
CMYKcmyk(48.1%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.60, -33.13, 40.18)
CIE-LCHlch(40.60, 52.07, 129.51°)
OKLaboklab(47.69% -0.0924 0.0896)
OKLCHoklch(47.69% 0.129 135.9)
XYZxyz(7.1286, 11.6196, 2.5765)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386C15 #49156C
analogous
#636C15 #386C15 #156C1D
triadic
#386C15 #15386C #6C1538
tetradic
#386C15 #15636C #49156C #6C1D15
square
#386C15 #15636C #49156C #6C1D15
split-complementary
#386C15 #1D156C #6C1563
monochromatic
#0D1A05 #1D390B #386C15 #539F1F #6DD229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386C15#FFFFFF#000000##FFFFFF
##386C151.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)
#706202
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#36685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #386c15;
/* rgb */ color: rgb(56, 108, 21);
/* oklch */ color: oklch(47.7% 0.129 135.9);
Tailwind
colors: {
  custom: {
    50: '#74965a',
    500: '#386c15',
    950: '#000000',
  },
}
SCSS
$custom: #386c15;
$custom-light: #74965a;
$custom-dark: #000000;
JSON
{
  "hex": "#386c15",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 95.862,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.12866,
    "h": 135.9
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#386C15
secondary
#793AA3
accent
#3DEAA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386C15

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

Preview Lab → · Contrast checker → · Palette generator →

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