#386F19#386F19

#386F19 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.130 H 136.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#386F19
RGBrgb(56, 111, 25)
HSLhsl(98, 63%, 27%)
HSVhsv(98, 77%, 44%)
CMYKcmyk(49.5%, 0%, 77.5%, 56.5%)
CIE-LABlab(41.66, -34.15, 39.71)
CIE-LCHlch(41.66, 52.38, 130.69°)
OKLaboklab(48.57% -0.0948 0.0892)
OKLCHoklch(48.57% 0.13 136.7)
XYZxyz(7.4906, 12.2793, 2.8950)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F19 #50196F
analogous
#636F19 #386F19 #196F25
triadic
#386F19 #19386F #6F1938
tetradic
#386F19 #19636F #50196F #6F2519
square
#386F19 #19636F #50196F #6F2519
split-complementary
#386F19 #25196F #6F1963
monochromatic
#0D1906 #1F3D0E #386F19 #51A124 #6BD132

Accessibility & contrast

On white

6.08
#386F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#386F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386F19
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386F19#FFFFFF#000000##FFFFFF
##386F191.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#356B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f19;
/* rgb */ color: rgb(56, 111, 25);
/* oklch */ color: oklch(48.6% 0.130 136.7);
Tailwind
colors: {
  custom: {
    50: '#74995c',
    500: '#386f19',
    950: '#000000',
  },
}
SCSS
$custom: #386f19;
$custom-light: #74995c;
$custom-dark: #000000;
JSON
{
  "hex": "#386f19",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 98.372,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.13022,
    "h": 136.7
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#386F19
secondary
#803FA4
accent
#42E6AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F19

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

Preview Lab → · Contrast checker → · Palette generator →

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