#386A18#386A18

#386A18 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.2% C 0.124 H 135.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#386A18
RGBrgb(56, 106, 24)
HSLhsl(97, 63%, 25%)
HSVhsv(97, 77%, 42%)
CMYKcmyk(47.2%, 0%, 77.4%, 58.4%)
CIE-LABlab(39.94, -32.04, 38.40)
CIE-LCHlch(39.94, 50.01, 129.84°)
OKLaboklab(47.15% -0.0892 0.0863)
OKLCHoklch(47.15% 0.124 135.9)
XYZxyz(6.9496, 11.2143, 2.6624)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386A18 #4A186A
analogous
#616A18 #386A18 #186A21
triadic
#386A18 #18386A #6A1838
tetradic
#386A18 #18616A #4A186A #6A2118
square
#386A18 #18616A #4A186A #6A2118
split-complementary
#386A18 #21186A #6A1861
monochromatic
#0D1906 #1E380D #386A18 #529C23 #6DCE2F

Accessibility & contrast

On white

6.48
#386A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#386A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386A18
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386A18#FFFFFF#000000##FFFFFF
##386A181.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#675D20
Tritanopia (blue-blind)
#36665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #386a18;
/* rgb */ color: rgb(56, 106, 24);
/* oklch */ color: oklch(47.2% 0.124 135.9);
Tailwind
colors: {
  custom: {
    50: '#74955b',
    500: '#386a18',
    950: '#000000',
  },
}
SCSS
$custom: #386a18;
$custom-light: #74955b;
$custom-dark: #000000;
JSON
{
  "hex": "#386a18",
  "rgb": {
    "r": 56,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 96.585,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.12414,
    "h": 135.9
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#386A18
secondary
#7A3EA0
accent
#42E6A6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #386A18

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

Preview Lab → · Contrast checker → · Palette generator →

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