#3A6E12#3A6E12

#3A6E12 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.132 H 135.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3A6E12
RGBrgb(58, 110, 18)
HSLhsl(94, 72%, 25%)
HSVhsv(94, 84%, 43%)
CMYKcmyk(47.3%, 0%, 83.6%, 56.9%)
CIE-LABlab(41.37, -33.48, 41.95)
CIE-LCHlch(41.37, 53.67, 128.59°)
OKLaboklab(48.34% -0.0937 0.0928)
OKLCHoklch(48.34% 0.132 135.3)
XYZxyz(7.4299, 12.0946, 2.5151)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6E12 #46126E
analogous
#686E12 #3A6E12 #126E18
triadic
#3A6E12 #123A6E #6E123A
tetradic
#3A6E12 #12686E #46126E #6E1812
square
#3A6E12 #12686E #46126E #6E1812
split-complementary
#3A6E12 #18126E #6E1268
monochromatic
#0E1A04 #1E3909 #3A6E12 #56A31B #71D723

Accessibility & contrast

On white

6.14
#3A6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3A6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6E12
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6E12#FFFFFF#000000##FFFFFF
##3A6E121.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#386A5D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a6e12;
/* rgb */ color: rgb(58, 110, 18);
/* oklch */ color: oklch(48.3% 0.132 135.3);
Tailwind
colors: {
  custom: {
    50: '#769859',
    500: '#3a6e12',
    950: '#000000',
  },
}
SCSS
$custom: #3a6e12;
$custom-light: #769859;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6e12",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 93.913,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.13181,
    "h": 135.3
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#3A6E12
secondary
#7537A5
accent
#39EFA0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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