#3B7E15#3B7E15

#3B7E15 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.150 H 137.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3B7E15
RGBrgb(59, 126, 21)
HSLhsl(98, 71%, 29%)
HSVhsv(98, 83%, 49%)
CMYKcmyk(53.2%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.85, -39.68, 46.11)
CIE-LCHlch(46.85, 60.83, 130.72°)
OKLaboklab(52.87% -0.1102 0.1019)
OKLCHoklch(52.87% 0.15 137.2)
XYZxyz(9.3995, 15.9050, 3.2840)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7E15 #58157E
analogous
#707E15 #3B7E15 #157E24
triadic
#3B7E15 #153B7E #7E153B
tetradic
#3B7E15 #15707E #58157E #7E2415
square
#3B7E15 #15707E #58157E #7E2415
split-complementary
#3B7E15 #24157E #7E1570
monochromatic
#0C1A04 #224A0C #3B7E15 #54B21E #6FDD31

Accessibility & contrast

On white

5.02
#3B7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3B7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7E15
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7E15#FFFFFF#000000##FFFFFF
##3B7E151.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#37796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3b7e15;
/* rgb */ color: rgb(59, 126, 21);
/* oklch */ color: oklch(52.9% 0.150 137.2);
Tailwind
colors: {
  custom: {
    50: '#79a45d',
    500: '#3b7e15',
    950: '#000000',
  },
}
SCSS
$custom: #3b7e15;
$custom-light: #79a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7e15",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 98.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.15011,
    "h": 137.2
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#3B7E15
secondary
#883CB3
accent
#3AEEAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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