#3B7715#3B7715

#3B7715 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 50.9% C 0.141 H 136.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3B7715
RGBrgb(59, 119, 21)
HSLhsl(97, 70%, 27%)
HSVhsv(97, 82%, 47%)
CMYKcmyk(50.4%, 0%, 82.4%, 53.3%)
CIE-LABlab(44.49, -36.81, 43.91)
CIE-LCHlch(44.49, 57.29, 129.97°)
OKLaboklab(50.92% -0.1025 0.0973)
OKLCHoklch(50.92% 0.141 136.5)
XYZxyz(8.5356, 14.1770, 2.9960)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7715 #511577
analogous
#6C7715 #3B7715 #157720
triadic
#3B7715 #153B77 #77153B
tetradic
#3B7715 #156C77 #511577 #772015
square
#3B7715 #156C77 #511577 #772015
split-complementary
#3B7715 #201577 #77156C
monochromatic
#0D1A05 #21430C #3B7715 #55AB1E #70DA2D

Accessibility & contrast

On white

5.48
#3B7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3B7715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7715
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7715#FFFFFF#000000##FFFFFF
##3B77151.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#746720
Tritanopia (blue-blind)
#387265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3b7715;
/* rgb */ color: rgb(59, 119, 21);
/* oklch */ color: oklch(50.9% 0.141 136.5);
Tailwind
colors: {
  custom: {
    50: '#789f5c',
    500: '#3b7715',
    950: '#000000',
  },
}
SCSS
$custom: #3b7715;
$custom-light: #789f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7715",
  "rgb": {
    "r": 59,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 96.735,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.14133,
    "h": 136.5
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#3B7715
secondary
#813BAD
accent
#3BEDA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7715

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

Preview Lab → · Contrast checker → · Palette generator →

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