#386811#386811

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

Color values

HEX#386811
RGBrgb(56, 104, 17)
HSLhsl(93, 72%, 24%)
HSVhsv(93, 84%, 41%)
CMYKcmyk(46.2%, 0%, 83.7%, 59.2%)
CIE-LABlab(39.21, -31.61, 40.23)
CIE-LCHlch(39.21, 51.17, 128.16°)
OKLaboklab(46.54% -0.0886 0.089)
OKLCHoklch(46.54% 0.126 134.8)
XYZxyz(6.6822, 10.7815, 2.2591)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386811 #411168
analogous
#636811 #386811 #116815
triadic
#386811 #113868 #681138
tetradic
#386811 #116368 #411168 #681511
square
#386811 #116368 #411168 #681511
split-complementary
#386811 #151168 #681163
monochromatic
#0E1A04 #1C3308 #386811 #549D1A #71D122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386811#FFFFFF#000000##FFFFFF
##3868111.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)
#665B1B
Tritanopia (blue-blind)
#376458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #386811;
/* rgb */ color: rgb(56, 104, 17);
/* oklch */ color: oklch(46.5% 0.126 134.8);
Tailwind
colors: {
  custom: {
    50: '#749357',
    500: '#386811',
    950: '#000000',
  },
}
SCSS
$custom: #386811;
$custom-light: #749357;
$custom-dark: #000000;
JSON
{
  "hex": "#386811",
  "rgb": {
    "r": 56,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 93.103,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.12558,
    "h": 134.8
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#386811
secondary
#7035A0
accent
#39EF9D
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #386811

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

Preview Lab → · Contrast checker → · Palette generator →

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