#3B7915#3B7915

#3B7915 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.5% C 0.144 H 136.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3B7915
RGBrgb(59, 121, 21)
HSLhsl(97, 70%, 28%)
HSVhsv(97, 83%, 47%)
CMYKcmyk(51.2%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.16, -37.64, 44.54)
CIE-LCHlch(45.16, 58.31, 130.20°)
OKLaboklab(51.48% -0.1047 0.0986)
OKLCHoklch(51.48% 0.144 136.7)
XYZxyz(8.7761, 14.6581, 3.0762)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7915 #531579
analogous
#6D7915 #3B7915 #157921
triadic
#3B7915 #153B79 #79153B
tetradic
#3B7915 #156D79 #531579 #792115
square
#3B7915 #156D79 #531579 #792115
split-complementary
#3B7915 #211579 #79156D
monochromatic
#0D1A05 #22450C #3B7915 #54AD1E #6FDB2E

Accessibility & contrast

On white

5.34
#3B7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3B7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7915
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7915#FFFFFF#000000##FFFFFF
##3B79151.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#387467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3b7915;
/* rgb */ color: rgb(59, 121, 21);
/* oklch */ color: oklch(51.5% 0.144 136.7);
Tailwind
colors: {
  custom: {
    50: '#78a05c',
    500: '#3b7915',
    950: '#000000',
  },
}
SCSS
$custom: #3b7915;
$custom-light: #78a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7915",
  "rgb": {
    "r": 59,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 97.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.14385,
    "h": 136.7
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#3B7915
secondary
#833BAF
accent
#3BEDA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3B7915

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

Preview Lab → · Contrast checker → · Palette generator →

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