#3A6612#3A6612

#3A6612 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.121 H 133.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3A6612
RGBrgb(58, 102, 18)
HSLhsl(91, 70%, 24%)
HSVhsv(91, 82%, 40%)
CMYKcmyk(43.1%, 0%, 82.4%, 60%)
CIE-LABlab(38.63, -29.91, 39.39)
CIE-LCHlch(38.63, 49.45, 127.21°)
OKLaboklab(46.1% -0.084 0.0874)
OKLCHoklch(46.1% 0.121 133.9)
XYZxyz(6.6054, 10.4456, 2.2403)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6612 #3E1266
analogous
#646612 #3A6612 #126614
triadic
#3A6612 #123A66 #66123A
tetradic
#3A6612 #126466 #3E1266 #661412
square
#3A6612 #126466 #3E1266 #661412
split-complementary
#3A6612 #141266 #661264
monochromatic
#0F1A05 #1C3209 #3A6612 #589A1B #75CE24

Accessibility & contrast

On white

6.80
#3A6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3A6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6612
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6612#FFFFFF#000000##FFFFFF
##3A66121.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#645A1B
Tritanopia (blue-blind)
#3A6256
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a6612;
/* rgb */ color: rgb(58, 102, 18);
/* oklch */ color: oklch(46.1% 0.121 133.9);
Tailwind
colors: {
  custom: {
    50: '#759258',
    500: '#3a6612',
    950: '#000000',
  },
}
SCSS
$custom: #3a6612;
$custom-light: #759258;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6612",
  "rgb": {
    "r": 58,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 91.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46096,
    "c": 0.12124,
    "h": 133.9
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#3A6612
secondary
#6C369E
accent
#3BED98
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #3A6612

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

Preview Lab → · Contrast checker → · Palette generator →

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