#386812#386812

#386812 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.5% C 0.125 H 134.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#386812
RGBrgb(56, 104, 18)
HSLhsl(93, 70%, 24%)
HSVhsv(93, 83%, 41%)
CMYKcmyk(46.2%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.22, -31.55, 39.90)
CIE-LCHlch(39.22, 50.87, 128.34°)
OKLaboklab(46.55% -0.0883 0.0885)
OKLCHoklch(46.55% 0.125 134.9)
XYZxyz(6.6902, 10.7847, 2.3013)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386812 #421268
analogous
#636812 #386812 #126817
triadic
#386812 #123868 #681238
tetradic
#386812 #126368 #421268 #681712
square
#386812 #126368 #421268 #681712
split-complementary
#386812 #171268 #681263
monochromatic
#0E1A05 #1C3409 #386812 #549C1B #70D024

Accessibility & contrast

On white

6.65
#386812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#386812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386812
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386812#FFFFFF#000000##FFFFFF
##3868121.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#376458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #386812;
/* rgb */ color: rgb(56, 104, 18);
/* oklch */ color: oklch(46.5% 0.125 134.9);
Tailwind
colors: {
  custom: {
    50: '#749358',
    500: '#386812',
    950: '#000000',
  },
}
SCSS
$custom: #386812;
$custom-light: #749358;
$custom-dark: #000000;
JSON
{
  "hex": "#386812",
  "rgb": {
    "r": 56,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 93.488,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.12504,
    "h": 134.9
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#386812
secondary
#7136A0
accent
#3BED9E
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386812

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

Preview Lab → · Contrast checker → · Palette generator →

#386812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva