#386F1C#386F1C

#386F1C is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.128 H 137.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#386F1C
RGBrgb(56, 111, 28)
HSLhsl(100, 60%, 27%)
HSVhsv(100, 75%, 44%)
CMYKcmyk(49.5%, 0%, 74.8%, 56.5%)
CIE-LABlab(41.68, -33.92, 38.54)
CIE-LCHlch(41.68, 51.34, 131.35°)
OKLaboklab(48.59% -0.094 0.0872)
OKLCHoklch(48.59% 0.128 137.1)
XYZxyz(7.5247, 12.2930, 3.0747)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F1C #531C6F
analogous
#626F1C #386F1C #1C6F2A
triadic
#386F1C #1C386F #6F1C38
tetradic
#386F1C #1C626F #531C6F #6F2A1C
square
#386F1C #1C626F #531C6F #6F2A1C
split-complementary
#386F1C #2A1C6F #6F1C62
monochromatic
#0C1806 #1F3E10 #386F1C #51A028 #6BCD38

Accessibility & contrast

On white

6.07
#386F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#386F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386F1C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386F1C#FFFFFF#000000##FFFFFF
##386F1C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#356B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f1c;
/* rgb */ color: rgb(56, 111, 28);
/* oklch */ color: oklch(48.6% 0.128 137.1);
Tailwind
colors: {
  custom: {
    50: '#74995e',
    500: '#386f1c',
    950: '#000000',
  },
}
SCSS
$custom: #386f1c;
$custom-light: #74995e;
$custom-dark: #000000;
JSON
{
  "hex": "#386f1c",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 99.759,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4859,
    "c": 0.12825,
    "h": 137.1
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#386F1C
secondary
#8343A4
accent
#45E3AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #386F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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