#3B8115#3B8115

#3B8115 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.7% C 0.154 H 137.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3B8115
RGBrgb(59, 129, 21)
HSLhsl(99, 72%, 29%)
HSVhsv(99, 84%, 51%)
CMYKcmyk(54.3%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.86, -40.88, 47.04)
CIE-LCHlch(47.86, 62.32, 131.00°)
OKLaboklab(53.7% -0.1134 0.1039)
OKLCHoklch(53.7% 0.154 137.5)
XYZxyz(9.7889, 16.6837, 3.4138)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8115 #5B1581
analogous
#718115 #3B8115 #158125
triadic
#3B8115 #153B81 #81153B
tetradic
#3B8115 #157181 #5B1581 #812515
square
#3B8115 #157181 #5B1581 #812515
split-complementary
#3B8115 #251581 #811571
monochromatic
#0C1A04 #234C0C #3B8115 #53B61E #6FDE33

Accessibility & contrast

On white

4.84
#3B8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3B8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8115
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8115#FFFFFF#000000##FFFFFF
##3B81151.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#367C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3b8115;
/* rgb */ color: rgb(59, 129, 21);
/* oklch */ color: oklch(53.7% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#79a65d',
    500: '#3b8115',
    950: '#000000',
  },
}
SCSS
$custom: #3b8115;
$custom-light: #79a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8115",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 98.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.1538,
    "h": 137.5
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#3B8115
secondary
#8B3CB6
accent
#39EFAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B8115

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

Preview Lab → · Contrast checker → · Palette generator →

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