#3B7515#3B7515

#3B7515 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.139 H 136.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3B7515
RGBrgb(59, 117, 21)
HSLhsl(96, 70%, 27%)
HSVhsv(96, 82%, 46%)
CMYKcmyk(49.6%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.81, -35.97, 43.27)
CIE-LCHlch(43.81, 56.27, 129.73°)
OKLaboklab(50.36% -0.1002 0.096)
OKLCHoklch(50.36% 0.139 136.2)
XYZxyz(8.3001, 13.7060, 2.9175)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7515 #4F1575
analogous
#6B7515 #3B7515 #15751F
triadic
#3B7515 #153B75 #75153B
tetradic
#3B7515 #156B75 #4F1575 #751F15
square
#3B7515 #156B75 #4F1575 #751F15
split-complementary
#3B7515 #1F1575 #75156B
monochromatic
#0D1A05 #21410C #3B7515 #55A91E #70D92B

Accessibility & contrast

On white

5.61
#3B7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3B7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7515
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7515#FFFFFF#000000##FFFFFF
##3B75151.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#387063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3b7515;
/* rgb */ color: rgb(59, 117, 21);
/* oklch */ color: oklch(50.4% 0.139 136.2);
Tailwind
colors: {
  custom: {
    50: '#779d5b',
    500: '#3b7515',
    950: '#000000',
  },
}
SCSS
$custom: #3b7515;
$custom-light: #779d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7515",
  "rgb": {
    "r": 59,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 96.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.13877,
    "h": 136.2
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#3B7515
secondary
#7F3BAB
accent
#3BECA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7515

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

Preview Lab → · Contrast checker → · Palette generator →

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