#3B6817#3B6817

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

Color values

HEX#3B6817
RGBrgb(59, 104, 23)
HSLhsl(93, 64%, 25%)
HSVhsv(93, 78%, 41%)
CMYKcmyk(43.3%, 0%, 77.9%, 59.2%)
CIE-LABlab(39.40, -30.12, 38.30)
CIE-LCHlch(39.40, 48.72, 128.18°)
OKLaboklab(46.75% -0.0843 0.0859)
OKLCHoklch(46.75% 0.12 134.5)
XYZxyz(6.9085, 10.8919, 2.5488)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6817 #441768
analogous
#646817 #3B6817 #17681B
triadic
#3B6817 #173B68 #68173B
tetradic
#3B6817 #176468 #441768 #681B17
square
#3B6817 #176468 #441768 #681B17
split-complementary
#3B6817 #1B1768 #681764
monochromatic
#0E1906 #1F360C #3B6817 #579A22 #74CC2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B6817#FFFFFF#000000##FFFFFF
##3B68171.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)
#6C5F07
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#3A6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b6817;
/* rgb */ color: rgb(59, 104, 23);
/* oklch */ color: oklch(46.7% 0.120 134.5);
Tailwind
colors: {
  custom: {
    50: '#75935a',
    500: '#3b6817',
    950: '#000000',
  },
}
SCSS
$custom: #3b6817;
$custom-light: #75935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6817",
  "rgb": {
    "r": 59,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 93.333,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.12038,
    "h": 134.5
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#3B6817
secondary
#733D9E
accent
#41E79D
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6817

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

Preview Lab → · Contrast checker → · Palette generator →

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