#3B6A12#3B6A12

#3B6A12 is a mid, vivid yellow-green. Relative luminance 0.113; OKLCH L 47.3% C 0.126 H 134.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3B6A12
RGBrgb(59, 106, 18)
HSLhsl(92, 71%, 24%)
HSVhsv(92, 83%, 42%)
CMYKcmyk(44.3%, 0%, 83%, 58.4%)
CIE-LABlab(40.05, -31.35, 40.74)
CIE-LCHlch(40.05, 51.40, 127.58°)
OKLaboklab(47.27% -0.088 0.0902)
OKLCHoklch(47.27% 0.126 134.3)
XYZxyz(7.0667, 11.2812, 2.3773)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6A12 #41126A
analogous
#676A12 #3B6A12 #126A15
triadic
#3B6A12 #123B6A #6A123B
tetradic
#3B6A12 #12676A #41126A #6A1512
square
#3B6A12 #12676A #41126A #6A1512
split-complementary
#3B6A12 #15126A #6A1267
monochromatic
#0F1A04 #1E3609 #3B6A12 #589E1B #75D324

Accessibility & contrast

On white

6.45
#3B6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3B6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6A12
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6A12#FFFFFF#000000##FFFFFF
##3B6A121.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#3A665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b6a12;
/* rgb */ color: rgb(59, 106, 18);
/* oklch */ color: oklch(47.3% 0.126 134.3);
Tailwind
colors: {
  custom: {
    50: '#769558',
    500: '#3b6a12',
    950: '#000000',
  },
}
SCSS
$custom: #3b6a12;
$custom-light: #769558;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6a12",
  "rgb": {
    "r": 59,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 92.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.12601,
    "h": 134.3
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#3B6A12
secondary
#7036A2
accent
#3AEE9A
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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