#3B7D16#3B7D16

#3B7D16 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.6% C 0.148 H 137.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3B7D16
RGBrgb(59, 125, 22)
HSLhsl(98, 70%, 29%)
HSVhsv(98, 82%, 49%)
CMYKcmyk(52.8%, 0%, 82.4%, 51%)
CIE-LABlab(46.52, -39.22, 45.49)
CIE-LCHlch(46.52, 60.06, 130.77°)
OKLaboklab(52.6% -0.1089 0.1008)
OKLCHoklch(52.6% 0.148 137.2)
XYZxyz(9.2818, 15.6543, 3.2914)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7D16 #58167D
analogous
#6F7D16 #3B7D16 #167D25
triadic
#3B7D16 #163B7D #7D163B
tetradic
#3B7D16 #166F7D #58167D #7D2516
square
#3B7D16 #166F7D #58167D #7D2516
split-complementary
#3B7D16 #25167D #7D166F
monochromatic
#0C1A05 #22490D #3B7D16 #54B11F #6FDB32

Accessibility & contrast

On white

5.08
#3B7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3B7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7D16
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7D16#FFFFFF#000000##FFFFFF
##3B7D161.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#37786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3b7d16;
/* rgb */ color: rgb(59, 125, 22);
/* oklch */ color: oklch(52.6% 0.148 137.2);
Tailwind
colors: {
  custom: {
    50: '#78a35d',
    500: '#3b7d16',
    950: '#000000',
  },
}
SCSS
$custom: #3b7d16;
$custom-light: #78a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7d16",
  "rgb": {
    "r": 59,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 98.447,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.14838,
    "h": 137.2
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#3B7D16
secondary
#883DB2
accent
#3BEDAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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