#3B6912#3B6912

#3B6912 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 47.0% C 0.125 H 134.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3B6912
RGBrgb(59, 105, 18)
HSLhsl(92, 71%, 24%)
HSVhsv(92, 83%, 41%)
CMYKcmyk(43.8%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.71, -30.90, 40.42)
CIE-LCHlch(39.71, 50.88, 127.39°)
OKLaboklab(46.99% -0.0868 0.0895)
OKLCHoklch(46.99% 0.125 134.1)
XYZxyz(6.9643, 11.0763, 2.3431)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6912 #401269
analogous
#676912 #3B6912 #126914
triadic
#3B6912 #123B69 #69123B
tetradic
#3B6912 #126769 #401269 #691412
square
#3B6912 #126769 #401269 #691412
split-complementary
#3B6912 #141269 #691267
monochromatic
#0F1A04 #1E3509 #3B6912 #589D1B #76D124

Accessibility & contrast

On white

6.53
#3B6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3B6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6912
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6912#FFFFFF#000000##FFFFFF
##3B69121.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#3A6559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b6912;
/* rgb */ color: rgb(59, 105, 18);
/* oklch */ color: oklch(47.0% 0.125 134.1);
Tailwind
colors: {
  custom: {
    50: '#769458',
    500: '#3b6912',
    950: '#000000',
  },
}
SCSS
$custom: #3b6912;
$custom-light: #769458;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6912",
  "rgb": {
    "r": 59,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 91.724,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46993,
    "c": 0.12468,
    "h": 134.1
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#3B6912
secondary
#6E36A1
accent
#3AED99
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6912

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

Preview Lab → · Contrast checker → · Palette generator →

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