#386E1A#386E1A

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

Color values

HEX#386E1A
RGBrgb(56, 110, 26)
HSLhsl(99, 62%, 27%)
HSVhsv(99, 76%, 43%)
CMYKcmyk(49.1%, 0%, 76.4%, 56.9%)
CIE-LABlab(41.32, -33.64, 38.99)
CIE-LCHlch(41.32, 51.50, 130.79°)
OKLaboklab(48.29% -0.0934 0.0879)
OKLCHoklch(48.29% 0.128 136.7)
XYZxyz(7.3931, 12.0667, 2.9166)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E1A #501A6E
analogous
#626E1A #386E1A #1A6E26
triadic
#386E1A #1A386E #6E1A38
tetradic
#386E1A #1A626E #501A6E #6E261A
square
#386E1A #1A626E #501A6E #6E261A
split-complementary
#386E1A #261A6E #6E1A62
monochromatic
#0D1906 #1F3D0E #386E1A #51A026 #6BCF34

Accessibility & contrast

On white

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

On black

3.41
#386E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##386E1A#FFFFFF#000000##FFFFFF
##386E1A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #386e1a;
/* rgb */ color: rgb(56, 110, 26);
/* oklch */ color: oklch(48.3% 0.128 136.7);
Tailwind
colors: {
  custom: {
    50: '#74985d',
    500: '#386e1a',
    950: '#000000',
  },
}
SCSS
$custom: #386e1a;
$custom-light: #74985d;
$custom-dark: #000000;
JSON
{
  "hex": "#386e1a",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 98.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.12824,
    "h": 136.7
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#386E1A
secondary
#8041A3
accent
#43E5AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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