#386C1B#386C1B

#386C1B is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.7% C 0.125 H 136.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#386C1B
RGBrgb(56, 108, 27)
HSLhsl(99, 60%, 26%)
HSVhsv(99, 75%, 42%)
CMYKcmyk(48.1%, 0%, 75%, 57.6%)
CIE-LABlab(40.65, -32.69, 37.90)
CIE-LCHlch(40.65, 50.05, 130.78°)
OKLaboklab(47.74% -0.0907 0.0857)
OKLCHoklch(47.74% 0.125 136.6)
XYZxyz(7.1911, 11.6446, 2.9054)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386C1B #4F1B6C
analogous
#616C1B #386C1B #1B6C27
triadic
#386C1B #1B386C #6C1B38
tetradic
#386C1B #1B616C #4F1B6C #6C271B
square
#386C1B #1B616C #4F1B6C #6C271B
split-complementary
#386C1B #271B6C #6C1B61
monochromatic
#0D1806 #1F3B0F #386C1B #519D27 #6BCC35

Accessibility & contrast

On white

6.31
#386C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#386C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386C1B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386C1B#FFFFFF#000000##FFFFFF
##386C1B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#35685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #386c1b;
/* rgb */ color: rgb(56, 108, 27);
/* oklch */ color: oklch(47.7% 0.125 136.6);
Tailwind
colors: {
  custom: {
    50: '#74965d',
    500: '#386c1b',
    950: '#000000',
  },
}
SCSS
$custom: #386c1b;
$custom-light: #74965d;
$custom-dark: #000000;
JSON
{
  "hex": "#386c1b",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 98.519,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.12485,
    "h": 136.6
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#386C1B
secondary
#7F42A1
accent
#45E3AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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