#3B7415#3B7415

#3B7415 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.137 H 136.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3B7415
RGBrgb(59, 116, 21)
HSLhsl(96, 69%, 27%)
HSVhsv(96, 82%, 45%)
CMYKcmyk(49.1%, 0%, 81.9%, 54.5%)
CIE-LABlab(43.47, -35.54, 42.95)
CIE-LCHlch(43.47, 55.75, 129.61°)
OKLaboklab(50.09% -0.0991 0.0953)
OKLCHoklch(50.09% 0.137 136.1)
XYZxyz(8.1842, 13.4742, 2.8789)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7415 #4E1574
analogous
#6B7415 #3B7415 #15741F
triadic
#3B7415 #153B74 #74153B
tetradic
#3B7415 #156B74 #4E1574 #741F15
square
#3B7415 #156B74 #4E1574 #741F15
split-complementary
#3B7415 #1F1574 #74156B
monochromatic
#0D1A05 #21400C #3B7415 #55A81E #70D92B

Accessibility & contrast

On white

5.68
#3B7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3B7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7415
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7415#FFFFFF#000000##FFFFFF
##3B74151.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#386F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b7415;
/* rgb */ color: rgb(59, 116, 21);
/* oklch */ color: oklch(50.1% 0.137 136.1);
Tailwind
colors: {
  custom: {
    50: '#779c5b',
    500: '#3b7415',
    950: '#000000',
  },
}
SCSS
$custom: #3b7415;
$custom-light: #779c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7415",
  "rgb": {
    "r": 59,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 96,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.13749,
    "h": 136.1
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#3B7415
secondary
#7E3BAA
accent
#3CECA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7415

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

Preview Lab → · Contrast checker → · Palette generator →

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