#3B7016#3B7016

#3B7016 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.0% C 0.132 H 135.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3B7016
RGBrgb(59, 112, 22)
HSLhsl(95, 67%, 26%)
HSVhsv(95, 80%, 44%)
CMYKcmyk(47.3%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.12, -33.76, 41.32)
CIE-LCHlch(42.12, 53.36, 129.25°)
OKLaboklab(48.98% -0.0942 0.0921)
OKLCHoklch(48.98% 0.132 135.7)
XYZxyz(7.7424, 12.5756, 2.7783)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7016 #4B1670
analogous
#687016 #3B7016 #16701E
triadic
#3B7016 #163B70 #70163B
tetradic
#3B7016 #166870 #4B1670 #701E16
square
#3B7016 #166870 #4B1670 #701E16
split-complementary
#3B7016 #1E1670 #701668
monochromatic
#0D1A05 #203D0C #3B7016 #56A320 #71D52B

Accessibility & contrast

On white

5.97
#3B7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3B7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7016
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7016#FFFFFF#000000##FFFFFF
##3B70161.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#396C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b7016;
/* rgb */ color: rgb(59, 112, 22);
/* oklch */ color: oklch(49.0% 0.132 135.7);
Tailwind
colors: {
  custom: {
    50: '#77995b',
    500: '#3b7016',
    950: '#000000',
  },
}
SCSS
$custom: #3b7016;
$custom-light: #77995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7016",
  "rgb": {
    "r": 59,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 95.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.13172,
    "h": 135.7
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#3B7016
secondary
#7A3CA6
accent
#3EEAA3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7016

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

Preview Lab → · Contrast checker → · Palette generator →

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