#3A7616#3A7616

#3A7616 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.140 H 136.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3A7616
RGBrgb(58, 118, 22)
HSLhsl(98, 69%, 27%)
HSVhsv(98, 81%, 46%)
CMYKcmyk(50.8%, 0%, 81.4%, 53.7%)
CIE-LABlab(44.11, -36.66, 43.21)
CIE-LCHlch(44.11, 56.66, 130.31°)
OKLaboklab(50.6% -0.1019 0.096)
OKLCHoklch(50.6% 0.14 136.7)
XYZxyz(8.3679, 13.9138, 3.0036)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7616 #521676
analogous
#6A7616 #3A7616 #167622
triadic
#3A7616 #163A76 #76163A
tetradic
#3A7616 #166A76 #521676 #762216
square
#3A7616 #166A76 #521676 #762216
split-complementary
#3A7616 #221676 #76166A
monochromatic
#0D1A05 #21420C #3A7616 #53AA20 #6ED82E

Accessibility & contrast

On white

5.55
#3A7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3A7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7616
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7616#FFFFFF#000000##FFFFFF
##3A76161.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#377164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a7616;
/* rgb */ color: rgb(58, 118, 22);
/* oklch */ color: oklch(50.6% 0.140 136.7);
Tailwind
colors: {
  custom: {
    50: '#779e5c',
    500: '#3a7616',
    950: '#000000',
  },
}
SCSS
$custom: #3a7616;
$custom-light: #779e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7616",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 97.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.506,
    "c": 0.14005,
    "h": 136.7
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#3A7616
secondary
#823CAC
accent
#3CEBAA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7616

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

Preview Lab → · Contrast checker → · Palette generator →

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