#386D14#386D14

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

Color values

HEX#386D14
RGBrgb(56, 109, 20)
HSLhsl(96, 69%, 25%)
HSVhsv(96, 82%, 43%)
CMYKcmyk(48.6%, 0%, 81.7%, 57.3%)
CIE-LABlab(40.94, -33.63, 40.85)
CIE-LCHlch(40.94, 52.91, 129.46°)
OKLaboklab(47.97% -0.0938 0.0908)
OKLCHoklch(47.97% 0.131 135.9)
XYZxyz(7.2256, 11.8281, 2.5640)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386D14 #49146D
analogous
#646D14 #386D14 #146D1C
triadic
#386D14 #14386D #6D1438
tetradic
#386D14 #14646D #49146D #6D1C14
square
#386D14 #14646D #49146D #6D1C14
split-complementary
#386D14 #1C146D #6D1464
monochromatic
#0D1A05 #1D390B #386D14 #53A11D #6DD427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386D14#FFFFFF#000000##FFFFFF
##386D141.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)
#716300
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#36695C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386d14;
/* rgb */ color: rgb(56, 109, 20);
/* oklch */ color: oklch(48.0% 0.131 135.9);
Tailwind
colors: {
  custom: {
    50: '#74975a',
    500: '#386d14',
    950: '#000000',
  },
}
SCSS
$custom: #386d14;
$custom-light: #74975a;
$custom-dark: #000000;
JSON
{
  "hex": "#386d14",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 95.73,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47968,
    "c": 0.13054,
    "h": 135.9
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#386D14
secondary
#7939A4
accent
#3CECA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386D14

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

Preview Lab → · Contrast checker → · Palette generator →

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