#386E1C#386E1C

#386E1C is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.127 H 137.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#386E1C
RGBrgb(56, 110, 28)
HSLhsl(100, 59%, 27%)
HSVhsv(100, 75%, 43%)
CMYKcmyk(49.1%, 0%, 74.5%, 56.9%)
CIE-LABlab(41.34, -33.48, 38.19)
CIE-LCHlch(41.34, 50.79, 131.24°)
OKLaboklab(48.31% -0.0928 0.0865)
OKLCHoklch(48.31% 0.127 137)
XYZxyz(7.4162, 12.0760, 3.0385)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E1C #521C6E
analogous
#616E1C #386E1C #1C6E29
triadic
#386E1C #1C386E #6E1C38
tetradic
#386E1C #1C616E #521C6E #6E291C
square
#386E1C #1C616E #521C6E #6E291C
split-complementary
#386E1C #291C6E #6E1C61
monochromatic
#0C1806 #1F3D10 #386E1C #519F28 #6BCC38

Accessibility & contrast

On white

6.15
#386E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#386E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386E1C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386E1C#FFFFFF#000000##FFFFFF
##386E1C1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640E
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#356A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386e1c;
/* rgb */ color: rgb(56, 110, 28);
/* oklch */ color: oklch(48.3% 0.127 137.0);
Tailwind
colors: {
  custom: {
    50: '#74985e',
    500: '#386e1c',
    950: '#000000',
  },
}
SCSS
$custom: #386e1c;
$custom-light: #74985e;
$custom-dark: #000000;
JSON
{
  "hex": "#386e1c",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 99.512,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.12689,
    "h": 137
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#386E1C
secondary
#8243A3
accent
#45E3AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #386E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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