#3A6A16#3A6A16

#3A6A16 is a mid, vivid yellow-green. Relative luminance 0.113; OKLCH L 47.2% C 0.124 H 135.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3A6A16
RGBrgb(58, 106, 22)
HSLhsl(94, 66%, 25%)
HSVhsv(94, 79%, 42%)
CMYKcmyk(45.3%, 0%, 79.2%, 58.4%)
CIE-LABlab(40.02, -31.46, 39.28)
CIE-LCHlch(40.02, 50.33, 128.69°)
OKLaboklab(47.25% -0.088 0.0878)
OKLCHoklch(47.25% 0.124 135)
XYZxyz(7.0436, 11.2651, 2.5621)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6A16 #46166A
analogous
#646A16 #3A6A16 #166A1C
triadic
#3A6A16 #163A6A #6A163A
tetradic
#3A6A16 #16646A #46166A #6A1C16
square
#3A6A16 #16646A #46166A #6A1C16
split-complementary
#3A6A16 #1C166A #6A1664
monochromatic
#0E1905 #1E370B #3A6A16 #569D21 #71CF2B

Accessibility & contrast

On white

6.46
#3A6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3A6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6A16
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6A16#FFFFFF#000000##FFFFFF
##3A6A161.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6104
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#39665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a6a16;
/* rgb */ color: rgb(58, 106, 22);
/* oklch */ color: oklch(47.2% 0.124 135.0);
Tailwind
colors: {
  custom: {
    50: '#75955a',
    500: '#3a6a16',
    950: '#000000',
  },
}
SCSS
$custom: #3a6a16;
$custom-light: #75955a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6a16",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 94.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.12429,
    "h": 135
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#3A6A16
secondary
#753BA0
accent
#3FE9A0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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