#3A6C12#3A6C12

#3A6C12 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.129 H 135.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3A6C12
RGBrgb(58, 108, 18)
HSLhsl(93, 71%, 25%)
HSVhsv(93, 83%, 42%)
CMYKcmyk(46.3%, 0%, 83.3%, 57.6%)
CIE-LABlab(40.68, -32.60, 41.31)
CIE-LCHlch(40.68, 52.63, 128.28°)
OKLaboklab(47.78% -0.0913 0.0914)
OKLCHoklch(47.78% 0.129 135)
XYZxyz(7.2165, 11.6679, 2.4440)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6C12 #44126C
analogous
#676C12 #3A6C12 #126C17
triadic
#3A6C12 #123A6C #6C123A
tetradic
#3A6C12 #12676C #44126C #6C1712
square
#3A6C12 #12676C #44126C #6C1712
split-complementary
#3A6C12 #17126C #6C1267
monochromatic
#0E1A04 #1E3809 #3A6C12 #56A01B #72D523

Accessibility & contrast

On white

6.30
#3A6C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3A6C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6C12
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6C12#FFFFFF#000000##FFFFFF
##3A6C121.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#39685B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a6c12;
/* rgb */ color: rgb(58, 108, 18);
/* oklch */ color: oklch(47.8% 0.129 135.0);
Tailwind
colors: {
  custom: {
    50: '#769659',
    500: '#3a6c12',
    950: '#000000',
  },
}
SCSS
$custom: #3a6c12;
$custom-light: #769659;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6c12",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 93.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.1292,
    "h": 135
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#3A6C12
secondary
#7336A3
accent
#3AEE9E
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6C12

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

Preview Lab → · Contrast checker → · Palette generator →

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