#386B19#386B19

#386B19 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.4% C 0.125 H 136.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#386B19
RGBrgb(56, 107, 25)
HSLhsl(97, 62%, 26%)
HSVhsv(97, 77%, 42%)
CMYKcmyk(47.7%, 0%, 76.6%, 58%)
CIE-LABlab(40.29, -32.40, 38.35)
CIE-LCHlch(40.29, 50.21, 130.20°)
OKLaboklab(47.44% -0.0901 0.0864)
OKLCHoklch(47.44% 0.125 136.2)
XYZxyz(7.0639, 11.4259, 2.7527)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386B19 #4C196B
analogous
#616B19 #386B19 #196B23
triadic
#386B19 #19386B #6B1938
tetradic
#386B19 #19616B #4C196B #6B2319
square
#386B19 #19616B #4C196B #6B2319
split-complementary
#386B19 #23196B #6B1961
monochromatic
#0D1906 #1E390D #386B19 #529D25 #6CCE30

Accessibility & contrast

On white

6.39
#386B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#386B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386B19
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386B19#FFFFFF#000000##FFFFFF
##386B191.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620A
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#36675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #386b19;
/* rgb */ color: rgb(56, 107, 25);
/* oklch */ color: oklch(47.4% 0.125 136.2);
Tailwind
colors: {
  custom: {
    50: '#74965c',
    500: '#386b19',
    950: '#000000',
  },
}
SCSS
$custom: #386b19;
$custom-light: #74965c;
$custom-dark: #000000;
JSON
{
  "hex": "#386b19",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 97.317,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.12485,
    "h": 136.2
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#386B19
secondary
#7C3FA1
accent
#43E5A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386B19

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

Preview Lab → · Contrast checker → · Palette generator →

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