#3B7F15#3B7F15

#3B7F15 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.1% C 0.151 H 137.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3B7F15
RGBrgb(59, 127, 21)
HSLhsl(98, 72%, 29%)
HSVhsv(98, 83%, 50%)
CMYKcmyk(53.5%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.19, -40.09, 46.42)
CIE-LCHlch(47.19, 61.33, 130.81°)
OKLaboklab(53.14% -0.1113 0.1026)
OKLCHoklch(53.14% 0.151 137.3)
XYZxyz(9.5281, 16.1620, 3.3268)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7F15 #59157F
analogous
#707F15 #3B7F15 #157F24
triadic
#3B7F15 #153B7F #7F153B
tetradic
#3B7F15 #15707F #59157F #7F2415
square
#3B7F15 #15707F #59157F #7F2415
split-complementary
#3B7F15 #24157F #7F1570
monochromatic
#0C1A04 #234A0C #3B7F15 #53B41E #6FDD31

Accessibility & contrast

On white

4.96
#3B7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3B7F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7F15
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7F15#FFFFFF#000000##FFFFFF
##3B7F151.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#367A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3b7f15;
/* rgb */ color: rgb(59, 127, 21);
/* oklch */ color: oklch(53.1% 0.151 137.3);
Tailwind
colors: {
  custom: {
    50: '#79a55d',
    500: '#3b7f15',
    950: '#000000',
  },
}
SCSS
$custom: #3b7f15;
$custom-light: #79a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7f15",
  "rgb": {
    "r": 59,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 98.491,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.15134,
    "h": 137.3
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#3B7F15
secondary
#893CB4
accent
#39EEAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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