#386D19#386D19

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

Color values

HEX#386D19
RGBrgb(56, 109, 25)
HSLhsl(98, 63%, 26%)
HSVhsv(98, 77%, 43%)
CMYKcmyk(48.6%, 0%, 77.1%, 57.3%)
CIE-LABlab(40.97, -33.28, 39.04)
CIE-LCHlch(40.97, 51.30, 130.45°)
OKLaboklab(48% -0.0925 0.0878)
OKLCHoklch(48% 0.128 136.5)
XYZxyz(7.2748, 11.8478, 2.8230)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386D19 #4E196D
analogous
#626D19 #386D19 #196D24
triadic
#386D19 #19386D #6D1938
tetradic
#386D19 #19626D #4E196D #6D2419
square
#386D19 #19626D #4E196D #6D2419
split-complementary
#386D19 #24196D #6D1962
monochromatic
#0D1906 #1E3B0E #386D19 #529F24 #6BD031

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386D19#FFFFFF#000000##FFFFFF
##386D191.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)
#716309
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#35695D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386d19;
/* rgb */ color: rgb(56, 109, 25);
/* oklch */ color: oklch(48.0% 0.128 136.5);
Tailwind
colors: {
  custom: {
    50: '#74975c',
    500: '#386d19',
    950: '#000000',
  },
}
SCSS
$custom: #386d19;
$custom-light: #74975c;
$custom-dark: #000000;
JSON
{
  "hex": "#386d19",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 97.857,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.12755,
    "h": 136.5
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#386D19
secondary
#7E3FA2
accent
#42E6A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386D19

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

Preview Lab → · Contrast checker → · Palette generator →

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