#3B7A16#3B7A16

#3B7A16 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.145 H 136.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3B7A16
RGBrgb(59, 122, 22)
HSLhsl(98, 69%, 28%)
HSVhsv(98, 82%, 48%)
CMYKcmyk(51.6%, 0%, 82%, 52.2%)
CIE-LABlab(45.51, -37.99, 44.54)
CIE-LCHlch(45.51, 58.54, 130.47°)
OKLaboklab(51.76% -0.1056 0.0988)
OKLCHoklch(51.76% 0.145 136.9)
XYZxyz(8.9077, 14.9062, 3.1667)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7A16 #55167A
analogous
#6D7A16 #3B7A16 #167A23
triadic
#3B7A16 #163B7A #7A163B
tetradic
#3B7A16 #166D7A #55167A #7A2316
square
#3B7A16 #166D7A #55167A #7A2316
split-complementary
#3B7A16 #23167A #7A166D
monochromatic
#0D1A05 #22460D #3B7A16 #54AE1F #6FDA31

Accessibility & contrast

On white

5.27
#3B7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3B7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7A16
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7A16#FFFFFF#000000##FFFFFF
##3B7A161.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#377568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3b7a16;
/* rgb */ color: rgb(59, 122, 22);
/* oklch */ color: oklch(51.8% 0.145 136.9);
Tailwind
colors: {
  custom: {
    50: '#78a15d',
    500: '#3b7a16',
    950: '#000000',
  },
}
SCSS
$custom: #3b7a16;
$custom-light: #78a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7a16",
  "rgb": {
    "r": 59,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 97.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.14461,
    "h": 136.9
  },
  "luminance": 0.14907
}

Semantic roles & 50–950 ramp

primary
#3B7A16
secondary
#853DAF
accent
#3CECAB
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3B7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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