#3B6511#3B6511

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

Color values

HEX#3B6511
RGBrgb(59, 101, 17)
HSLhsl(90, 71%, 23%)
HSVhsv(90, 83%, 40%)
CMYKcmyk(41.6%, 0%, 83.2%, 60.4%)
CIE-LABlab(38.34, -29.13, 39.47)
CIE-LCHlch(38.34, 49.05, 126.42°)
OKLaboklab(45.87% -0.0821 0.0874)
OKLCHoklch(45.87% 0.12 133.2)
XYZxyz(6.5584, 10.2773, 2.1684)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6511 #3B1165
analogous
#656511 #3B6511 #116511
triadic
#3B6511 #113B65 #65113B
tetradic
#3B6511 #116565 #3B1165 #651111
square
#3B6511 #116565 #3B1165 #651111
split-complementary
#3B6511 #111165 #651165
monochromatic
#0F1A04 #1C3108 #3B6511 #5A991A #78CE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B6511#FFFFFF#000000##FFFFFF
##3B65111.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)
#64591A
Tritanopia (blue-blind)
#3B6155
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b6511;
/* rgb */ color: rgb(59, 101, 17);
/* oklch */ color: oklch(45.9% 0.120 133.2);
Tailwind
colors: {
  custom: {
    50: '#759157',
    500: '#3b6511',
    950: '#000000',
  },
}
SCSS
$custom: #3b6511;
$custom-light: #759157;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6511",
  "rgb": {
    "r": 59,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.11988,
    "h": 133.2
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#3B6511
secondary
#69359D
accent
#3AEE94
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #3B6511

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

Preview Lab → · Contrast checker → · Palette generator →

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