#386F15#386F15

#386F15 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.5% C 0.133 H 136.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#386F15
RGBrgb(56, 111, 21)
HSLhsl(97, 68%, 26%)
HSVhsv(97, 81%, 44%)
CMYKcmyk(49.5%, 0%, 81.1%, 56.5%)
CIE-LABlab(41.63, -34.43, 41.16)
CIE-LCHlch(41.63, 53.66, 129.91°)
OKLaboklab(48.54% -0.0959 0.0916)
OKLCHoklch(48.54% 0.133 136.3)
XYZxyz(7.4505, 12.2633, 2.6838)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F15 #4C156F
analogous
#656F15 #386F15 #156F1F
triadic
#386F15 #15386F #6F1538
tetradic
#386F15 #15656F #4C156F #6F1F15
square
#386F15 #15656F #4C156F #6F1F15
split-complementary
#386F15 #1F156F #6F1565
monochromatic
#0D1A05 #1E3C0B #386F15 #52A21F #6CD628

Accessibility & contrast

On white

6.08
#386F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#386F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386F15
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386F15#FFFFFF#000000##FFFFFF
##386F151.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#356B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f15;
/* rgb */ color: rgb(56, 111, 21);
/* oklch */ color: oklch(48.5% 0.133 136.3);
Tailwind
colors: {
  custom: {
    50: '#75995a',
    500: '#386f15',
    950: '#000000',
  },
}
SCSS
$custom: #386f15;
$custom-light: #75995a;
$custom-dark: #000000;
JSON
{
  "hex": "#386f15",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 96.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.13261,
    "h": 136.3
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#386F15
secondary
#7C3AA5
accent
#3DEBA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F15

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

Preview Lab → · Contrast checker → · Palette generator →

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