#386B18#386B18

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

Color values

HEX#386B18
RGBrgb(56, 107, 24)
HSLhsl(97, 63%, 26%)
HSVhsv(97, 78%, 42%)
CMYKcmyk(47.7%, 0%, 77.6%, 58%)
CIE-LABlab(40.28, -32.48, 38.74)
CIE-LCHlch(40.28, 50.55, 129.98°)
OKLaboklab(47.43% -0.0904 0.087)
OKLCHoklch(47.43% 0.125 136.1)
XYZxyz(7.0533, 11.4217, 2.6969)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386B18 #4B186B
analogous
#616B18 #386B18 #186B21
triadic
#386B18 #18386B #6B1838
tetradic
#386B18 #18616B #4B186B #6B2118
square
#386B18 #18616B #4B186B #6B2118
split-complementary
#386B18 #21186B #6B1861
monochromatic
#0D1906 #1E390D #386B18 #529D23 #6CCF2E

Accessibility & contrast

On white

6.39
#386B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #386B18
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386B18#FFFFFF#000000##FFFFFF
##386B181.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #386b18;
/* rgb */ color: rgb(56, 107, 24);
/* oklch */ color: oklch(47.4% 0.125 136.1);
Tailwind
colors: {
  custom: {
    50: '#74965b',
    500: '#386b18',
    950: '#000000',
  },
}
SCSS
$custom: #386b18;
$custom-light: #74965b;
$custom-dark: #000000;
JSON
{
  "hex": "#386b18",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 96.867,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.12549,
    "h": 136.1
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#386B18
secondary
#7B3EA1
accent
#41E6A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386B18

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

Preview Lab → · Contrast checker → · Palette generator →

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