#3B6512#3B6512

#3B6512 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.119 H 133.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3B6512
RGBrgb(59, 101, 18)
HSLhsl(90, 70%, 23%)
HSVhsv(90, 82%, 40%)
CMYKcmyk(41.6%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.34, -29.07, 39.13)
CIE-LCHlch(38.34, 48.75, 126.60°)
OKLaboklab(45.87% -0.0819 0.0868)
OKLCHoklch(45.87% 0.119 133.3)
XYZxyz(6.5664, 10.2805, 2.2105)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6512 #3C1265
analogous
#646512 #3B6512 #126512
triadic
#3B6512 #123B65 #65123B
tetradic
#3B6512 #126465 #3C1265 #651212
square
#3B6512 #126465 #3C1265 #651212
split-complementary
#3B6512 #121265 #651264
monochromatic
#0F1A05 #1D3109 #3B6512 #59991B #78CD25

Accessibility & contrast

On white

6.87
#3B6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3B6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6512
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6512#FFFFFF#000000##FFFFFF
##3B65121.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#3B6156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b6512;
/* rgb */ color: rgb(59, 101, 18);
/* oklch */ color: oklch(45.9% 0.119 133.3);
Tailwind
colors: {
  custom: {
    50: '#759157',
    500: '#3b6512',
    950: '#000000',
  },
}
SCSS
$custom: #3b6512;
$custom-light: #759157;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6512",
  "rgb": {
    "r": 59,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 90.361,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.11933,
    "h": 133.3
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#3B6512
secondary
#6A369D
accent
#3BED95
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #3B6512

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

Preview Lab → · Contrast checker → · Palette generator →

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