#386D1A#386D1A

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

Color values

HEX#386D1A
RGBrgb(56, 109, 26)
HSLhsl(98, 61%, 26%)
HSVhsv(98, 76%, 43%)
CMYKcmyk(48.6%, 0%, 76.1%, 57.3%)
CIE-LABlab(40.98, -33.21, 38.65)
CIE-LCHlch(40.98, 50.95, 130.67°)
OKLaboklab(48.01% -0.0922 0.0872)
OKLCHoklch(48.01% 0.127 136.6)
XYZxyz(7.2858, 11.8521, 2.8809)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386D1A #4F1A6D
analogous
#626D1A #386D1A #1A6D26
triadic
#386D1A #1A386D #6D1A38
tetradic
#386D1A #1A626D #4F1A6D #6D261A
square
#386D1A #1A626D #4F1A6D #6D261A
split-complementary
#386D1A #261A6D #6D1A62
monochromatic
#0D1906 #1F3C0E #386D1A #519E26 #6BCE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386D1A#FFFFFF#000000##FFFFFF
##386D1A1.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)
#71630B
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#35695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386d1a;
/* rgb */ color: rgb(56, 109, 26);
/* oklch */ color: oklch(48.0% 0.127 136.6);
Tailwind
colors: {
  custom: {
    50: '#74975d',
    500: '#386d1a',
    950: '#000000',
  },
}
SCSS
$custom: #386d1a;
$custom-light: #74975d;
$custom-dark: #000000;
JSON
{
  "hex": "#386d1a",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 98.313,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.12689,
    "h": 136.6
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#386D1A
secondary
#7F41A2
accent
#43E5AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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