#386D1B#386D1B

#386D1B is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.126 H 136.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#386D1B
RGBrgb(56, 109, 27)
HSLhsl(99, 60%, 27%)
HSVhsv(99, 75%, 43%)
CMYKcmyk(48.6%, 0%, 75.2%, 57.3%)
CIE-LABlab(40.99, -33.13, 38.25)
CIE-LCHlch(40.99, 50.60, 130.90°)
OKLaboklab(48.02% -0.0919 0.0865)
OKLCHoklch(48.02% 0.126 136.8)
XYZxyz(7.2971, 11.8567, 2.9408)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386D1B #501B6D
analogous
#616D1B #386D1B #1B6D27
triadic
#386D1B #1B386D #6D1B38
tetradic
#386D1B #1B616D #501B6D #6D271B
square
#386D1B #1B616D #501B6D #6D271B
split-complementary
#386D1B #271B6D #6D1B61
monochromatic
#0D1906 #1F3C0F #386D1B #519E27 #6BCD35

Accessibility & contrast

On white

6.23
#386D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#386D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386D1B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386D1B#FFFFFF#000000##FFFFFF
##386D1B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630D
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#35695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386d1b;
/* rgb */ color: rgb(56, 109, 27);
/* oklch */ color: oklch(48.0% 0.126 136.8);
Tailwind
colors: {
  custom: {
    50: '#74975d',
    500: '#386d1b',
    950: '#000000',
  },
}
SCSS
$custom: #386d1b;
$custom-light: #74975d;
$custom-dark: #000000;
JSON
{
  "hex": "#386d1b",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 98.78,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.12621,
    "h": 136.8
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#386D1B
secondary
#8042A2
accent
#44E3AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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