#3A6912#3A6912

#3A6912 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.125 H 134.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3A6912
RGBrgb(58, 105, 18)
HSLhsl(92, 71%, 24%)
HSVhsv(92, 83%, 41%)
CMYKcmyk(44.8%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.66, -31.27, 40.35)
CIE-LCHlch(39.66, 51.05, 127.77°)
OKLaboklab(46.94% -0.0877 0.0894)
OKLCHoklch(46.94% 0.125 134.5)
XYZxyz(6.9055, 11.0460, 2.3404)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6912 #411269
analogous
#666912 #3A6912 #126916
triadic
#3A6912 #123A69 #69123A
tetradic
#3A6912 #126669 #411269 #691612
square
#3A6912 #126669 #411269 #691612
split-complementary
#3A6912 #161269 #691266
monochromatic
#0E1A04 #1D3509 #3A6912 #579D1B #74D124

Accessibility & contrast

On white

6.54
#3A6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3A6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6912
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6912#FFFFFF#000000##FFFFFF
##3A69121.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#396559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a6912;
/* rgb */ color: rgb(58, 105, 18);
/* oklch */ color: oklch(46.9% 0.125 134.5);
Tailwind
colors: {
  custom: {
    50: '#759458',
    500: '#3a6912',
    950: '#000000',
  },
}
SCSS
$custom: #3a6912;
$custom-light: #759458;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6912",
  "rgb": {
    "r": 58,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 92.414,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.12524,
    "h": 134.5
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#3A6912
secondary
#7036A1
accent
#3AED9B
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6912

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

Preview Lab → · Contrast checker → · Palette generator →

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