#3A6816#3A6816

#3A6816 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.7% C 0.122 H 134.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3A6816
RGBrgb(58, 104, 22)
HSLhsl(94, 65%, 25%)
HSVhsv(94, 79%, 41%)
CMYKcmyk(44.2%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.34, -30.56, 38.61)
CIE-LCHlch(39.34, 49.24, 128.36°)
OKLaboklab(46.68% -0.0855 0.0864)
OKLCHoklch(46.68% 0.122 134.7)
XYZxyz(6.8399, 10.8577, 2.4942)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6816 #441668
analogous
#636816 #3A6816 #16681B
triadic
#3A6816 #163A68 #68163A
tetradic
#3A6816 #166368 #441668 #681B16
square
#3A6816 #166368 #441668 #681B16
split-complementary
#3A6816 #1B1668 #681663
monochromatic
#0E1905 #1E350B #3A6816 #569B21 #72CD2B

Accessibility & contrast

On white

6.62
#3A6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3A6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6816
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6816#FFFFFF#000000##FFFFFF
##3A68161.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#396458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6816;
/* rgb */ color: rgb(58, 104, 22);
/* oklch */ color: oklch(46.7% 0.122 134.7);
Tailwind
colors: {
  custom: {
    50: '#75935a',
    500: '#3a6816',
    950: '#000000',
  },
}
SCSS
$custom: #3a6816;
$custom-light: #75935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6816",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 93.659,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.12158,
    "h": 134.7
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#3A6816
secondary
#733B9F
accent
#40E89E
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6816

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

Preview Lab → · Contrast checker → · Palette generator →

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