#3B6917#3B6917

#3B6917 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 47.0% C 0.122 H 134.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3B6917
RGBrgb(59, 105, 23)
HSLhsl(94, 64%, 25%)
HSVhsv(94, 78%, 41%)
CMYKcmyk(43.8%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.74, -30.57, 38.64)
CIE-LCHlch(39.74, 49.27, 128.35°)
OKLaboklab(47.03% -0.0855 0.0866)
OKLCHoklch(47.03% 0.122 134.6)
XYZxyz(7.0097, 11.0944, 2.5825)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6917 #451769
analogous
#646917 #3B6917 #17691C
triadic
#3B6917 #173B69 #69173B
tetradic
#3B6917 #176469 #451769 #691C17
square
#3B6917 #176469 #451769 #691C17
split-complementary
#3B6917 #1C1769 #691764
monochromatic
#0E1905 #1F370C #3B6917 #579B22 #73CD2D

Accessibility & contrast

On white

6.52
#3B6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3B6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B6917
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6917#FFFFFF#000000##FFFFFF
##3B69171.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#3A6559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b6917;
/* rgb */ color: rgb(59, 105, 23);
/* oklch */ color: oklch(47.0% 0.122 134.6);
Tailwind
colors: {
  custom: {
    50: '#76945a',
    500: '#3b6917',
    950: '#000000',
  },
}
SCSS
$custom: #3b6917;
$custom-light: #76945a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6917",
  "rgb": {
    "r": 59,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 93.659,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.12174,
    "h": 134.6
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#3B6917
secondary
#743D9F
accent
#41E79E
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3B6917

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

Preview Lab → · Contrast checker → · Palette generator →

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