#3B6811#3B6811

#3B6811 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.7% C 0.124 H 133.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3B6811
RGBrgb(59, 104, 17)
HSLhsl(91, 72%, 24%)
HSVhsv(91, 84%, 41%)
CMYKcmyk(43.3%, 0%, 83.7%, 59.2%)
CIE-LABlab(39.36, -30.50, 40.43)
CIE-LCHlch(39.36, 50.64, 127.03°)
OKLaboklab(46.71% -0.0858 0.0894)
OKLCHoklch(46.71% 0.124 133.8)
XYZxyz(6.8550, 10.8705, 2.2672)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6811 #3E1168
analogous
#666811 #3B6811 #116812
triadic
#3B6811 #113B68 #68113B
tetradic
#3B6811 #116668 #3E1168 #681211
square
#3B6811 #116668 #3E1168 #681211
split-complementary
#3B6811 #121168 #681166
monochromatic
#0F1A04 #1D3308 #3B6811 #599D1A #77D122

Accessibility & contrast

On white

6.62
#3B6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3B6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6811
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6811#FFFFFF#000000##FFFFFF
##3B68111.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#3B6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b6811;
/* rgb */ color: rgb(59, 104, 17);
/* oklch */ color: oklch(46.7% 0.124 133.8);
Tailwind
colors: {
  custom: {
    50: '#769358',
    500: '#3b6811',
    950: '#000000',
  },
}
SCSS
$custom: #3b6811;
$custom-light: #769358;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6811",
  "rgb": {
    "r": 59,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 91.034,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46707,
    "c": 0.12388,
    "h": 133.8
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#3B6811
secondary
#6C35A0
accent
#39EF97
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6811

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

Preview Lab → · Contrast checker → · Palette generator →

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