#3B7916#3B7916

#3B7916 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.5% C 0.143 H 136.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3B7916
RGBrgb(59, 121, 22)
HSLhsl(98, 69%, 28%)
HSVhsv(98, 82%, 47%)
CMYKcmyk(51.2%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.17, -37.58, 44.22)
CIE-LCHlch(45.17, 58.03, 130.36°)
OKLaboklab(51.48% -0.1045 0.0981)
OKLCHoklch(51.48% 0.143 136.8)
XYZxyz(8.7856, 14.6619, 3.1260)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7916 #541679
analogous
#6C7916 #3B7916 #167923
triadic
#3B7916 #163B79 #79163B
tetradic
#3B7916 #166C79 #541679 #792316
square
#3B7916 #166C79 #541679 #792316
split-complementary
#3B7916 #231679 #79166C
monochromatic
#0D1A05 #22450D #3B7916 #54AD1F #6FD930

Accessibility & contrast

On white

5.34
#3B7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3B7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7916
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7916#FFFFFF#000000##FFFFFF
##3B79161.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#377467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3b7916;
/* rgb */ color: rgb(59, 121, 22);
/* oklch */ color: oklch(51.5% 0.143 136.8);
Tailwind
colors: {
  custom: {
    50: '#78a05c',
    500: '#3b7916',
    950: '#000000',
  },
}
SCSS
$custom: #3b7916;
$custom-light: #78a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7916",
  "rgb": {
    "r": 59,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 97.576,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.14334,
    "h": 136.8
  },
  "luminance": 0.14662
}

Semantic roles & 50–950 ramp

primary
#3B7916
secondary
#843DAE
accent
#3CECAA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3B7916

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

Preview Lab → · Contrast checker → · Palette generator →

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