#3B6816#3B6816

#3B6816 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.7% C 0.121 H 134.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3B6816
RGBrgb(59, 104, 22)
HSLhsl(93, 65%, 25%)
HSVhsv(93, 79%, 41%)
CMYKcmyk(43.3%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.39, -30.19, 38.68)
CIE-LCHlch(39.39, 49.07, 127.97°)
OKLaboklab(46.74% -0.0846 0.0865)
OKLCHoklch(46.74% 0.121 134.3)
XYZxyz(6.8986, 10.8880, 2.4970)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6816 #431668
analogous
#646816 #3B6816 #16681A
triadic
#3B6816 #163B68 #68163B
tetradic
#3B6816 #166468 #431668 #681A16
square
#3B6816 #166468 #431668 #681A16
split-complementary
#3B6816 #1A1668 #681664
monochromatic
#0E1905 #1E350B #3B6816 #589B21 #74CD2B

Accessibility & contrast

On white

6.61
#3B6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3B6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6816
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6816#FFFFFF#000000##FFFFFF
##3B68161.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#3A6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b6816;
/* rgb */ color: rgb(59, 104, 22);
/* oklch */ color: oklch(46.7% 0.121 134.3);
Tailwind
colors: {
  custom: {
    50: '#75935a',
    500: '#3b6816',
    950: '#000000',
  },
}
SCSS
$custom: #3b6816;
$custom-light: #75935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6816",
  "rgb": {
    "r": 59,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 92.927,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46741,
    "c": 0.12102,
    "h": 134.3
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#3B6816
secondary
#723B9F
accent
#40E89C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6816

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

Preview Lab → · Contrast checker → · Palette generator →

#3B6816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva