#3B6815#3B6815

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

Color values

HEX#3B6815
RGBrgb(59, 104, 21)
HSLhsl(93, 66%, 25%)
HSVhsv(93, 80%, 41%)
CMYKcmyk(43.3%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.38, -30.26, 39.05)
CIE-LCHlch(39.38, 49.40, 127.77°)
OKLaboklab(46.73% -0.0848 0.0872)
OKLCHoklch(46.73% 0.122 134.2)
XYZxyz(6.8892, 10.8842, 2.4472)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6815 #421568
analogous
#656815 #3B6815 #156819
triadic
#3B6815 #153B68 #68153B
tetradic
#3B6815 #156568 #421568 #681915
square
#3B6815 #156568 #421568 #681915
split-complementary
#3B6815 #191568 #681565
monochromatic
#0E1905 #1E350B #3B6815 #589B1F #75CE2A

Accessibility & contrast

On white

6.61
#3B6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3B6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6815
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6815#FFFFFF#000000##FFFFFF
##3B68151.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#3A6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b6815;
/* rgb */ color: rgb(59, 104, 21);
/* oklch */ color: oklch(46.7% 0.122 134.2);
Tailwind
colors: {
  custom: {
    50: '#769359',
    500: '#3b6815',
    950: '#000000',
  },
}
SCSS
$custom: #3b6815;
$custom-light: #769359;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6815",
  "rgb": {
    "r": 59,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 92.53,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.12163,
    "h": 134.2
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#3B6815
secondary
#713A9F
accent
#3EE99B
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6815

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

Preview Lab → · Contrast checker → · Palette generator →

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