#3B6812#3B6812

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

Color values

HEX#3B6812
RGBrgb(59, 104, 18)
HSLhsl(91, 70%, 24%)
HSVhsv(91, 83%, 41%)
CMYKcmyk(43.3%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.37, -30.44, 40.10)
CIE-LCHlch(39.37, 50.35, 127.21°)
OKLaboklab(46.71% -0.0856 0.0889)
OKLCHoklch(46.71% 0.123 133.9)
XYZxyz(6.8630, 10.8738, 2.3094)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6812 #3F1268
analogous
#666812 #3B6812 #126814
triadic
#3B6812 #123B68 #68123B
tetradic
#3B6812 #126668 #3F1268 #681412
square
#3B6812 #126668 #3F1268 #681412
split-complementary
#3B6812 #141268 #681266
monochromatic
#0F1A05 #1D3409 #3B6812 #599C1B #76D024

Accessibility & contrast

On white

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

On black

3.17
#3B6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3B6812#FFFFFF#000000##FFFFFF
##3B68121.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#3B6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b6812;
/* rgb */ color: rgb(59, 104, 18);
/* oklch */ color: oklch(46.7% 0.123 133.9);
Tailwind
colors: {
  custom: {
    50: '#769358',
    500: '#3b6812',
    950: '#000000',
  },
}
SCSS
$custom: #3b6812;
$custom-light: #769358;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6812",
  "rgb": {
    "r": 59,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 91.395,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.12336,
    "h": 133.9
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#3B6812
secondary
#6D36A0
accent
#3BED98
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6812

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

Preview Lab → · Contrast checker → · Palette generator →

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