#3A8116#3A8116

#3A8116 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.7% C 0.154 H 137.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A8116
RGBrgb(58, 129, 22)
HSLhsl(100, 71%, 30%)
HSVhsv(100, 83%, 51%)
CMYKcmyk(55%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.83, -41.13, 46.69)
CIE-LCHlch(47.83, 62.22, 131.38°)
OKLaboklab(53.66% -0.114 0.1033)
OKLCHoklch(53.66% 0.154 137.8)
XYZxyz(9.7397, 16.6572, 3.4608)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8116 #5D1681
analogous
#708116 #3A8116 #168128
triadic
#3A8116 #163A81 #81163A
tetradic
#3A8116 #167081 #5D1681 #812816
square
#3A8116 #167081 #5D1681 #812816
split-complementary
#3A8116 #281681 #811670
monochromatic
#0C1A04 #224D0D #3A8116 #52B51F #6DDD35

Accessibility & contrast

On white

4.85
#3A8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8116
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8116#FFFFFF#000000##FFFFFF
##3A81161.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#347C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8116;
/* rgb */ color: rgb(58, 129, 22);
/* oklch */ color: oklch(53.7% 0.154 137.8);
Tailwind
colors: {
  custom: {
    50: '#79a65e',
    500: '#3a8116',
    950: '#000000',
  },
}
SCSS
$custom: #3a8116;
$custom-light: #79a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8116",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 99.813,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.15382,
    "h": 137.8
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#3A8116
secondary
#8D3DB6
accent
#3AEEB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8116

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

Preview Lab → · Contrast checker → · Palette generator →

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