#3B6012#3B6012

#3B6012 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.113 H 132.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3B6012
RGBrgb(59, 96, 18)
HSLhsl(88, 68%, 22%)
HSVhsv(88, 81%, 38%)
CMYKcmyk(38.5%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.63, -26.71, 37.50)
CIE-LCHlch(36.63, 46.04, 125.46°)
OKLaboklab(44.47% -0.0755 0.0834)
OKLCHoklch(44.47% 0.113 132.2)
XYZxyz(6.0956, 9.3390, 2.0536)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6012 #371260
analogous
#605E12 #3B6012 #146012
triadic
#3B6012 #123B60 #60123B
tetradic
#3B6012 #12605E #371260 #601214
square
#3B6012 #12605E #371260 #601214
split-complementary
#3B6012 #121460 #5E1260
monochromatic
#101A05 #1B2C08 #3B6012 #5B941C #7AC725

Accessibility & contrast

On white

7.32
#3B6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3B6012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B6012
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6012#FFFFFF#000000##FFFFFF
##3B60121.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#3C5C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b6012;
/* rgb */ color: rgb(59, 96, 18);
/* oklch */ color: oklch(44.5% 0.113 132.2);
Tailwind
colors: {
  custom: {
    50: '#758d57',
    500: '#3b6012',
    950: '#000000',
  },
}
SCSS
$custom: #3b6012;
$custom-light: #758d57;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6012",
  "rgb": {
    "r": 59,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 88.462,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44473,
    "c": 0.11251,
    "h": 132.2
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#3B6012
secondary
#643698
accent
#3DEB8F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3B6012

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

Preview Lab → · Contrast checker → · Palette generator →

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