#386A1B#386A1B

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

Color values

HEX#386A1B
RGBrgb(56, 106, 27)
HSLhsl(98, 59%, 26%)
HSVhsv(98, 75%, 42%)
CMYKcmyk(47.2%, 0%, 74.5%, 58.4%)
CIE-LABlab(39.96, -31.80, 37.20)
CIE-LCHlch(39.96, 48.94, 130.53°)
OKLaboklab(47.18% -0.0883 0.0843)
OKLCHoklch(47.18% 0.122 136.4)
XYZxyz(6.9826, 11.2275, 2.8359)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386A1B #4D1B6A
analogous
#5F6A1B #386A1B #1B6A26
triadic
#386A1B #1B386A #6A1B38
tetradic
#386A1B #1B5F6A #4D1B6A #6A261B
square
#386A1B #1B5F6A #4D1B6A #6A261B
split-complementary
#386A1B #261B6A #6A1B5F
monochromatic
#0D1806 #1E390F #386A1B #529B27 #6CCB34

Accessibility & contrast

On white

6.47
#386A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#386A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386A1B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386A1B#FFFFFF#000000##FFFFFF
##386A1B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #386a1b;
/* rgb */ color: rgb(56, 106, 27);
/* oklch */ color: oklch(47.2% 0.122 136.4);
Tailwind
colors: {
  custom: {
    50: '#74955d',
    500: '#386a1b',
    950: '#000000',
  },
}
SCSS
$custom: #386a1b;
$custom-light: #74955d;
$custom-dark: #000000;
JSON
{
  "hex": "#386a1b",
  "rgb": {
    "r": 56,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 97.975,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.1221,
    "h": 136.4
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#386A1B
secondary
#7D429F
accent
#45E3A9
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #386A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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