#386C1A#386C1A

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

Color values

HEX#386C1A
RGBrgb(56, 108, 26)
HSLhsl(98, 61%, 26%)
HSVhsv(98, 76%, 42%)
CMYKcmyk(48.1%, 0%, 75.9%, 57.6%)
CIE-LABlab(40.64, -32.77, 38.30)
CIE-LCHlch(40.64, 50.41, 130.55°)
OKLaboklab(47.73% -0.091 0.0864)
OKLCHoklch(47.73% 0.126 136.5)
XYZxyz(7.1797, 11.6400, 2.8455)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386C1A #4E1A6C
analogous
#616C1A #386C1A #1A6C25
triadic
#386C1A #1A386C #6C1A38
tetradic
#386C1A #1A616C #4E1A6C #6C251A
square
#386C1A #1A616C #4E1A6C #6C251A
split-complementary
#386C1A #251A6C #6C1A61
monochromatic
#0D1906 #1E3B0E #386C1A #529D26 #6BCE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386C1A#FFFFFF#000000##FFFFFF
##386C1A1.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)
#70630B
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#36685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #386c1a;
/* rgb */ color: rgb(56, 108, 26);
/* oklch */ color: oklch(47.7% 0.126 136.5);
Tailwind
colors: {
  custom: {
    50: '#74965c',
    500: '#386c1a',
    950: '#000000',
  },
}
SCSS
$custom: #386c1a;
$custom-light: #74965c;
$custom-dark: #000000;
JSON
{
  "hex": "#386c1a",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 98.049,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47731,
    "c": 0.12553,
    "h": 136.5
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#386C1A
secondary
#7E41A1
accent
#43E4A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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