#3A7016#3A7016

#3A7016 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.132 H 136.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3A7016
RGBrgb(58, 112, 22)
HSLhsl(96, 67%, 26%)
HSVhsv(96, 80%, 44%)
CMYKcmyk(48.2%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.07, -34.11, 41.26)
CIE-LCHlch(42.07, 53.53, 129.58°)
OKLaboklab(48.92% -0.0951 0.092)
OKLCHoklch(48.92% 0.132 136)
XYZxyz(7.6837, 12.5453, 2.7755)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7016 #4C1670
analogous
#677016 #3A7016 #16701F
triadic
#3A7016 #163A70 #70163A
tetradic
#3A7016 #166770 #4C1670 #701F16
square
#3A7016 #166770 #4C1670 #701F16
split-complementary
#3A7016 #1F1670 #701667
monochromatic
#0D1A05 #203D0C #3A7016 #54A320 #6FD52B

Accessibility & contrast

On white

5.98
#3A7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7016
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7016#FFFFFF#000000##FFFFFF
##3A70161.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#386C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a7016;
/* rgb */ color: rgb(58, 112, 22);
/* oklch */ color: oklch(48.9% 0.132 136.0);
Tailwind
colors: {
  custom: {
    50: '#76995b',
    500: '#3a7016',
    950: '#000000',
  },
}
SCSS
$custom: #3a7016;
$custom-light: #76995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7016",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 96,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.13227,
    "h": 136
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#3A7016
secondary
#7C3CA6
accent
#3EEAA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7016

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

Preview Lab → · Contrast checker → · Palette generator →

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