#3A8016#3A8016

#3A8016 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.153 H 137.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A8016
RGBrgb(58, 128, 22)
HSLhsl(100, 71%, 29%)
HSVhsv(100, 83%, 50%)
CMYKcmyk(54.7%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.49, -40.74, 46.38)
CIE-LCHlch(47.49, 61.73, 131.29°)
OKLaboklab(53.38% -0.1129 0.1027)
OKLCHoklch(53.38% 0.153 137.7)
XYZxyz(9.6086, 16.3951, 3.4171)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8016 #5C1680
analogous
#6F8016 #3A8016 #168027
triadic
#3A8016 #163A80 #80163A
tetradic
#3A8016 #166F80 #5C1680 #802716
square
#3A8016 #166F80 #5C1680 #802716
split-complementary
#3A8016 #271680 #80166F
monochromatic
#0C1A04 #224C0D #3A8016 #52B41F #6DDC34

Accessibility & contrast

On white

4.91
#3A8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8016
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8016#FFFFFF#000000##FFFFFF
##3A80161.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#357B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8016;
/* rgb */ color: rgb(58, 128, 22);
/* oklch */ color: oklch(53.4% 0.153 137.7);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#3a8016',
    950: '#000000',
  },
}
SCSS
$custom: #3a8016;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8016",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 99.623,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.1526,
    "h": 137.7
  },
  "luminance": 0.16396
}

Semantic roles & 50–950 ramp

primary
#3A8016
secondary
#8C3DB5
accent
#3AEDB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8016

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

Preview Lab → · Contrast checker → · Palette generator →

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