#3B7D15#3B7D15

#3B7D15 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.6% C 0.149 H 137.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3B7D15
RGBrgb(59, 125, 21)
HSLhsl(98, 71%, 29%)
HSVhsv(98, 83%, 49%)
CMYKcmyk(52.8%, 0%, 83.2%, 51%)
CIE-LABlab(46.51, -39.28, 45.79)
CIE-LCHlch(46.51, 60.33, 130.62°)
OKLaboklab(52.59% -0.1091 0.1013)
OKLCHoklch(52.59% 0.149 137.1)
XYZxyz(9.2723, 15.6505, 3.2416)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7D15 #57157D
analogous
#6F7D15 #3B7D15 #157D23
triadic
#3B7D15 #153B7D #7D153B
tetradic
#3B7D15 #156F7D #57157D #7D2315
square
#3B7D15 #156F7D #57157D #7D2315
split-complementary
#3B7D15 #23157D #7D156F
monochromatic
#0C1A04 #22490C #3B7D15 #54B11E #6FDC30

Accessibility & contrast

On white

5.08
#3B7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3B7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7D15
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7D15#FFFFFF#000000##FFFFFF
##3B7D151.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#37786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3b7d15;
/* rgb */ color: rgb(59, 125, 21);
/* oklch */ color: oklch(52.6% 0.149 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a35d',
    500: '#3b7d15',
    950: '#000000',
  },
}
SCSS
$custom: #3b7d15;
$custom-light: #79a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7d15",
  "rgb": {
    "r": 59,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 98.077,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.14886,
    "h": 137.1
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#3B7D15
secondary
#873CB2
accent
#3AEEAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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