#386B15#386B15

#386B15 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.4% C 0.127 H 135.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#386B15
RGBrgb(56, 107, 21)
HSLhsl(96, 67%, 25%)
HSVhsv(96, 80%, 42%)
CMYKcmyk(47.7%, 0%, 80.4%, 58%)
CIE-LABlab(40.26, -32.69, 39.85)
CIE-LCHlch(40.26, 51.54, 129.37°)
OKLaboklab(47.41% -0.0912 0.0889)
OKLCHoklch(47.41% 0.127 135.7)
XYZxyz(7.0238, 11.4099, 2.5415)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386B15 #48156B
analogous
#636B15 #386B15 #156B1D
triadic
#386B15 #15386B #6B1538
tetradic
#386B15 #15636B #48156B #6B1D15
square
#386B15 #15636B #48156B #6B1D15
split-complementary
#386B15 #1D156B #6B1563
monochromatic
#0D1A05 #1D380B #386B15 #539E1F #6ED129

Accessibility & contrast

On white

6.40
#386B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#386B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386B15
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386B15#FFFFFF#000000##FFFFFF
##386B151.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6202
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#36675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #386b15;
/* rgb */ color: rgb(56, 107, 21);
/* oklch */ color: oklch(47.4% 0.127 135.7);
Tailwind
colors: {
  custom: {
    50: '#74965a',
    500: '#386b15',
    950: '#000000',
  },
}
SCSS
$custom: #386b15;
$custom-light: #74965a;
$custom-dark: #000000;
JSON
{
  "hex": "#386b15",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 95.581,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.12733,
    "h": 135.7
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#386B15
secondary
#783AA2
accent
#3EEAA4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386B15

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

Preview Lab → · Contrast checker → · Palette generator →

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