#3A7416#3A7416

#3A7416 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.137 H 136.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3A7416
RGBrgb(58, 116, 22)
HSLhsl(97, 68%, 27%)
HSVhsv(97, 81%, 45%)
CMYKcmyk(50%, 0%, 81%, 54.5%)
CIE-LABlab(43.43, -35.82, 42.56)
CIE-LCHlch(43.43, 55.63, 130.08°)
OKLaboklab(50.04% -0.0997 0.0947)
OKLCHoklch(50.04% 0.137 136.5)
XYZxyz(8.1349, 13.4477, 2.9259)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7416 #501674
analogous
#697416 #3A7416 #167421
triadic
#3A7416 #163A74 #74163A
tetradic
#3A7416 #166974 #501674 #742116
square
#3A7416 #166974 #501674 #742116
split-complementary
#3A7416 #211674 #741669
monochromatic
#0D1A05 #20410C #3A7416 #54A720 #6ED72D

Accessibility & contrast

On white

5.69
#3A7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3A7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7416
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7416#FFFFFF#000000##FFFFFF
##3A74161.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#376F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7416;
/* rgb */ color: rgb(58, 116, 22);
/* oklch */ color: oklch(50.0% 0.137 136.5);
Tailwind
colors: {
  custom: {
    50: '#779c5c',
    500: '#3a7416',
    950: '#000000',
  },
}
SCSS
$custom: #3a7416;
$custom-light: #779c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7416",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 97.021,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.13747,
    "h": 136.5
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#3A7416
secondary
#803CAA
accent
#3DEBA8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7416

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

Preview Lab → · Contrast checker → · Palette generator →

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