#3A8015#3A8015

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

Color values

HEX#3A8015
RGBrgb(58, 128, 21)
HSLhsl(99, 72%, 29%)
HSVhsv(99, 84%, 50%)
CMYKcmyk(54.7%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.48, -40.79, 46.68)
CIE-LCHlch(47.48, 61.99, 131.15°)
OKLaboklab(53.38% -0.1131 0.1031)
OKLCHoklch(53.38% 0.153 137.6)
XYZxyz(9.5991, 16.3913, 3.3673)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8015 #5B1580
analogous
#708015 #3A8015 #158025
triadic
#3A8015 #153A80 #80153A
tetradic
#3A8015 #157080 #5B1580 #802515
square
#3A8015 #157080 #5B1580 #802515
split-complementary
#3A8015 #251580 #801570
monochromatic
#0C1A04 #224B0C #3A8015 #52B51E #6DDD32

Accessibility & contrast

On white

4.91
#3A8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A8015
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8015#FFFFFF#000000##FFFFFF
##3A80151.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a8015;
/* rgb */ color: rgb(58, 128, 21);
/* oklch */ color: oklch(53.4% 0.153 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#3a8015',
    950: '#000000',
  },
}
SCSS
$custom: #3a8015;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8015",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 99.252,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.15307,
    "h": 137.6
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#3A8015
secondary
#8B3CB5
accent
#39EFB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8015

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

Preview Lab → · Contrast checker → · Palette generator →

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