#3B7617#3B7617

#3B7617 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.139 H 136.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3B7617
RGBrgb(59, 118, 23)
HSLhsl(97, 67%, 28%)
HSVhsv(97, 81%, 46%)
CMYKcmyk(50%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.16, -36.27, 42.93)
CIE-LCHlch(44.16, 56.20, 130.19°)
OKLaboklab(50.65% -0.1009 0.0956)
OKLCHoklch(50.65% 0.139 136.5)
XYZxyz(8.4365, 13.9480, 3.0581)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7617 #521776
analogous
#6B7617 #3B7617 #177622
triadic
#3B7617 #173B76 #76173B
tetradic
#3B7617 #176B76 #521776 #762217
square
#3B7617 #176B76 #521776 #762217
split-complementary
#3B7617 #221776 #76176B
monochromatic
#0D1A05 #21430D #3B7617 #55A921 #70D731

Accessibility & contrast

On white

5.54
#3B7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3B7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7617
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7617#FFFFFF#000000##FFFFFF
##3B76171.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#387164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3b7617;
/* rgb */ color: rgb(59, 118, 23);
/* oklch */ color: oklch(50.7% 0.139 136.5);
Tailwind
colors: {
  custom: {
    50: '#779e5c',
    500: '#3b7617',
    950: '#000000',
  },
}
SCSS
$custom: #3b7617;
$custom-light: #779e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7617",
  "rgb": {
    "r": 59,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 97.263,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.13898,
    "h": 136.5
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#3B7617
secondary
#823EAB
accent
#3EEAA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7617

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

Preview Lab → · Contrast checker → · Palette generator →

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