#3B7012#3B7012

#3B7012 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 48.9% C 0.134 H 135.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3B7012
RGBrgb(59, 112, 18)
HSLhsl(94, 72%, 25%)
HSVhsv(94, 84%, 44%)
CMYKcmyk(47.3%, 0%, 83.9%, 56.1%)
CIE-LABlab(42.09, -34.00, 42.64)
CIE-LCHlch(42.09, 54.53, 128.56°)
OKLaboklab(48.95% -0.0951 0.0942)
OKLCHoklch(48.95% 0.134 135.3)
XYZxyz(7.7068, 12.5613, 2.5906)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7012 #471270
analogous
#6A7012 #3B7012 #127018
triadic
#3B7012 #123B70 #70123B
tetradic
#3B7012 #126A70 #471270 #701812
square
#3B7012 #126A70 #471270 #701812
split-complementary
#3B7012 #181270 #70126A
monochromatic
#0E1A04 #1F3B0A #3B7012 #57A51A #73D923

Accessibility & contrast

On white

5.98
#3B7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3B7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7012
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7012#FFFFFF#000000##FFFFFF
##3B70121.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#396B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b7012;
/* rgb */ color: rgb(59, 112, 18);
/* oklch */ color: oklch(48.9% 0.134 135.3);
Tailwind
colors: {
  custom: {
    50: '#779959',
    500: '#3b7012',
    950: '#000000',
  },
}
SCSS
$custom: #3b7012;
$custom-light: #779959;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7012",
  "rgb": {
    "r": 59,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 93.83,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.13386,
    "h": 135.3
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#3B7012
secondary
#7637A7
accent
#39EFA0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7012

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

Preview Lab → · Contrast checker → · Palette generator →

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