#3B7E16#3B7E16

#3B7E16 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.150 H 137.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3B7E16
RGBrgb(59, 126, 22)
HSLhsl(99, 70%, 29%)
HSVhsv(99, 83%, 49%)
CMYKcmyk(53.2%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.85, -39.63, 45.80)
CIE-LCHlch(46.85, 60.56, 130.87°)
OKLaboklab(52.87% -0.11 0.1014)
OKLCHoklch(52.87% 0.15 137.3)
XYZxyz(9.4090, 15.9087, 3.3338)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7E16 #59167E
analogous
#6F7E16 #3B7E16 #167E25
triadic
#3B7E16 #163B7E #7E163B
tetradic
#3B7E16 #166F7E #59167E #7E2516
square
#3B7E16 #166F7E #59167E #7E2516
split-complementary
#3B7E16 #25167E #7E166F
monochromatic
#0C1A05 #234A0D #3B7E16 #53B21F #6FDB33

Accessibility & contrast

On white

5.02
#3B7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3B7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7E16
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7E16#FFFFFF#000000##FFFFFF
##3B7E161.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#36796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3b7e16;
/* rgb */ color: rgb(59, 126, 22);
/* oklch */ color: oklch(52.9% 0.150 137.3);
Tailwind
colors: {
  custom: {
    50: '#79a45d',
    500: '#3b7e16',
    950: '#000000',
  },
}
SCSS
$custom: #3b7e16;
$custom-light: #79a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7e16",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 98.654,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.14963,
    "h": 137.3
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#3B7E16
secondary
#893DB3
accent
#3BEDAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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