#386D15#386D15

#386D15 is a mid, vivid yellow-green. Relative luminance 0.118; OKLCH L 48.0% C 0.130 H 136.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#386D15
RGBrgb(56, 109, 21)
HSLhsl(96, 68%, 25%)
HSVhsv(96, 81%, 43%)
CMYKcmyk(48.6%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.95, -33.56, 40.50)
CIE-LCHlch(40.95, 52.60, 129.65°)
OKLaboklab(47.98% -0.0935 0.0903)
OKLCHoklch(47.98% 0.13 136)
XYZxyz(7.2347, 11.8317, 2.6119)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386D15 #4A156D
analogous
#646D15 #386D15 #156D1E
triadic
#386D15 #15386D #6D1538
tetradic
#386D15 #15646D #4A156D #6D1E15
square
#386D15 #15646D #4A156D #6D1E15
split-complementary
#386D15 #1E156D #6D1564
monochromatic
#0D1A05 #1E3A0B #386D15 #52A01F #6DD429

Accessibility & contrast

On white

6.24
#386D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#386D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386D15
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386D15#FFFFFF#000000##FFFFFF
##386D151.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#36695C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386d15;
/* rgb */ color: rgb(56, 109, 21);
/* oklch */ color: oklch(48.0% 0.130 136.0);
Tailwind
colors: {
  custom: {
    50: '#74975a',
    500: '#386d15',
    950: '#000000',
  },
}
SCSS
$custom: #386d15;
$custom-light: #74975a;
$custom-dark: #000000;
JSON
{
  "hex": "#386d15",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 96.136,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.12998,
    "h": 136
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#386D15
secondary
#7A3AA3
accent
#3DEBA6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386D15

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

Preview Lab → · Contrast checker → · Palette generator →

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