#3A6A12#3A6A12

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

Color values

HEX#3A6A12
RGBrgb(58, 106, 18)
HSLhsl(93, 71%, 24%)
HSVhsv(93, 83%, 42%)
CMYKcmyk(45.3%, 0%, 83%, 58.4%)
CIE-LABlab(40.00, -31.72, 40.67)
CIE-LCHlch(40.00, 51.58, 127.95°)
OKLaboklab(47.22% -0.0889 0.0901)
OKLCHoklch(47.22% 0.127 134.6)
XYZxyz(7.0080, 11.2509, 2.3745)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6A12 #42126A
analogous
#666A12 #3A6A12 #126A16
triadic
#3A6A12 #123A6A #6A123A
tetradic
#3A6A12 #12666A #42126A #6A1612
square
#3A6A12 #12666A #42126A #6A1612
split-complementary
#3A6A12 #16126A #6A1266
monochromatic
#0E1A04 #1D3609 #3A6A12 #579E1B #73D324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6A12#FFFFFF#000000##FFFFFF
##3A6A121.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)
#6E6100
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#39665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a6a12;
/* rgb */ color: rgb(58, 106, 18);
/* oklch */ color: oklch(47.2% 0.127 134.6);
Tailwind
colors: {
  custom: {
    50: '#759558',
    500: '#3a6a12',
    950: '#000000',
  },
}
SCSS
$custom: #3a6a12;
$custom-light: #759558;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6a12",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 92.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.12657,
    "h": 134.6
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#3A6A12
secondary
#7136A2
accent
#3AEE9C
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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