#3B7416#3B7416

#3B7416 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.137 H 136.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3B7416
RGBrgb(59, 116, 22)
HSLhsl(96, 68%, 27%)
HSVhsv(96, 81%, 45%)
CMYKcmyk(49.1%, 0%, 81%, 54.5%)
CIE-LABlab(43.47, -35.48, 42.62)
CIE-LCHlch(43.47, 55.45, 129.78°)
OKLaboklab(50.09% -0.0988 0.0948)
OKLCHoklch(50.09% 0.137 136.2)
XYZxyz(8.1936, 13.4780, 2.9287)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7416 #4F1674
analogous
#6A7416 #3B7416 #167420
triadic
#3B7416 #163B74 #74163B
tetradic
#3B7416 #166A74 #4F1674 #742016
square
#3B7416 #166A74 #4F1674 #742016
split-complementary
#3B7416 #201674 #74166A
monochromatic
#0D1A05 #21410C #3B7416 #55A720 #70D72D

Accessibility & contrast

On white

5.68
#3B7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3B7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7416
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7416#FFFFFF#000000##FFFFFF
##3B74161.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#386F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b7416;
/* rgb */ color: rgb(59, 116, 22);
/* oklch */ color: oklch(50.1% 0.137 136.2);
Tailwind
colors: {
  custom: {
    50: '#779c5c',
    500: '#3b7416',
    950: '#000000',
  },
}
SCSS
$custom: #3b7416;
$custom-light: #779c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7416",
  "rgb": {
    "r": 59,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 96.383,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50091,
    "c": 0.13695,
    "h": 136.2
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#3B7416
secondary
#7F3CAA
accent
#3DEBA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7416

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

Preview Lab → · Contrast checker → · Palette generator →

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