#3B7615#3B7615

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

Color values

HEX#3B7615
RGBrgb(59, 118, 21)
HSLhsl(96, 70%, 27%)
HSVhsv(96, 82%, 46%)
CMYKcmyk(50%, 0%, 82.2%, 53.7%)
CIE-LABlab(44.15, -36.39, 43.59)
CIE-LCHlch(44.15, 56.78, 129.85°)
OKLaboklab(50.64% -0.1013 0.0967)
OKLCHoklch(50.64% 0.14 136.4)
XYZxyz(8.4172, 13.9403, 2.9565)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7615 #501576
analogous
#6C7615 #3B7615 #157620
triadic
#3B7615 #153B76 #76153B
tetradic
#3B7615 #156C76 #501576 #762015
square
#3B7615 #156C76 #501576 #762015
split-complementary
#3B7615 #201576 #76156C
monochromatic
#0D1A05 #21420C #3B7615 #55AA1E #70D92C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B7615#FFFFFF#000000##FFFFFF
##3B76151.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)
#736720
Tritanopia (blue-blind)
#387164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3b7615;
/* rgb */ color: rgb(59, 118, 21);
/* oklch */ color: oklch(50.6% 0.140 136.4);
Tailwind
colors: {
  custom: {
    50: '#779e5b',
    500: '#3b7615',
    950: '#000000',
  },
}
SCSS
$custom: #3b7615;
$custom-light: #779e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7615",
  "rgb": {
    "r": 59,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 96.495,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.14005,
    "h": 136.4
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#3B7615
secondary
#803BAC
accent
#3BEDA7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7615

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

Preview Lab → · Contrast checker → · Palette generator →

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