#386C19#386C19

#386C19 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.7% C 0.126 H 136.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#386C19
RGBrgb(56, 108, 25)
HSLhsl(98, 62%, 26%)
HSVhsv(98, 77%, 42%)
CMYKcmyk(48.1%, 0%, 76.9%, 57.6%)
CIE-LABlab(40.63, -32.85, 38.69)
CIE-LCHlch(40.63, 50.75, 130.33°)
OKLaboklab(47.72% -0.0913 0.0871)
OKLCHoklch(47.72% 0.126 136.4)
XYZxyz(7.1687, 11.6356, 2.7877)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386C19 #4D196C
analogous
#616C19 #386C19 #196C23
triadic
#386C19 #19386C #6C1938
tetradic
#386C19 #19616C #4D196C #6C2319
square
#386C19 #19616C #4D196C #6C2319
split-complementary
#386C19 #23196C #6C1961
monochromatic
#0D1906 #1E3A0D #386C19 #529E25 #6CCF30

Accessibility & contrast

On white

6.31
#386C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#386C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386C19
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386C19#FFFFFF#000000##FFFFFF
##386C191.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706209
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#36685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #386c19;
/* rgb */ color: rgb(56, 108, 25);
/* oklch */ color: oklch(47.7% 0.126 136.4);
Tailwind
colors: {
  custom: {
    50: '#74965c',
    500: '#386c19',
    950: '#000000',
  },
}
SCSS
$custom: #386c19;
$custom-light: #74965c;
$custom-dark: #000000;
JSON
{
  "hex": "#386c19",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 97.59,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47723,
    "c": 0.1262,
    "h": 136.4
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#386C19
secondary
#7D3FA1
accent
#42E5A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386C19

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

Preview Lab → · Contrast checker → · Palette generator →

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