#3A7916#3A7916

#3A7916 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.4% C 0.144 H 137.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3A7916
RGBrgb(58, 121, 22)
HSLhsl(98, 69%, 28%)
HSVhsv(98, 82%, 47%)
CMYKcmyk(52.1%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.13, -37.90, 44.17)
CIE-LCHlch(45.13, 58.20, 130.64°)
OKLaboklab(51.44% -0.1053 0.098)
OKLCHoklch(51.44% 0.144 137)
XYZxyz(8.7268, 14.6316, 3.1232)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7916 #551679
analogous
#6B7916 #3A7916 #167923
triadic
#3A7916 #163A79 #79163A
tetradic
#3A7916 #166B79 #551679 #792316
square
#3A7916 #166B79 #551679 #792316
split-complementary
#3A7916 #231679 #79166B
monochromatic
#0C1A05 #21450D #3A7916 #53AD1F #6ED930

Accessibility & contrast

On white

5.35
#3A7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3A7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7916
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7916#FFFFFF#000000##FFFFFF
##3A79161.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#367467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a7916;
/* rgb */ color: rgb(58, 121, 22);
/* oklch */ color: oklch(51.4% 0.144 137.0);
Tailwind
colors: {
  custom: {
    50: '#77a05c',
    500: '#3a7916',
    950: '#000000',
  },
}
SCSS
$custom: #3a7916;
$custom-light: #77a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7916",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 98.182,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.14386,
    "h": 137
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#3A7916
secondary
#853DAE
accent
#3CECAC
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3A7916

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

Preview Lab → · Contrast checker → · Palette generator →

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