#3B8015#3B8015

#3B8015 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.153 H 137.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3B8015
RGBrgb(59, 128, 21)
HSLhsl(99, 72%, 29%)
HSVhsv(99, 84%, 50%)
CMYKcmyk(53.9%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.52, -40.49, 46.73)
CIE-LCHlch(47.52, 61.83, 130.91°)
OKLaboklab(53.42% -0.1123 0.1032)
OKLCHoklch(53.42% 0.153 137.4)
XYZxyz(9.6578, 16.4216, 3.3701)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8015 #5A1580
analogous
#718015 #3B8015 #158025
triadic
#3B8015 #153B80 #80153B
tetradic
#3B8015 #157180 #5A1580 #802515
square
#3B8015 #157180 #5A1580 #802515
split-complementary
#3B8015 #251580 #801571
monochromatic
#0C1A04 #234B0C #3B8015 #53B51E #6FDD32

Accessibility & contrast

On white

4.90
#3B8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3B8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8015
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8015#FFFFFF#000000##FFFFFF
##3B80151.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#367B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3b8015;
/* rgb */ color: rgb(59, 128, 21);
/* oklch */ color: oklch(53.4% 0.153 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a55d',
    500: '#3b8015',
    950: '#000000',
  },
}
SCSS
$custom: #3b8015;
$custom-light: #79a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8015",
  "rgb": {
    "r": 59,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 98.692,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53421,
    "c": 0.15257,
    "h": 137.4
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#3B8015
secondary
#8A3CB5
accent
#39EFAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B8015

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

Preview Lab → · Contrast checker → · Palette generator →

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