#3A7F15#3A7F15

#3A7F15 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.152 H 137.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7F15
RGBrgb(58, 127, 21)
HSLhsl(99, 72%, 29%)
HSVhsv(99, 83%, 50%)
CMYKcmyk(54.3%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.15, -40.39, 46.37)
CIE-LCHlch(47.15, 61.49, 131.06°)
OKLaboklab(53.1% -0.112 0.1025)
OKLCHoklch(53.1% 0.152 137.5)
XYZxyz(9.4693, 16.1317, 3.3241)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F15 #5A157F
analogous
#6F7F15 #3A7F15 #157F25
triadic
#3A7F15 #153A7F #7F153A
tetradic
#3A7F15 #156F7F #5A157F #7F2515
square
#3A7F15 #156F7F #5A157F #7F2515
split-complementary
#3A7F15 #25157F #7F156F
monochromatic
#0C1A04 #224A0C #3A7F15 #52B41E #6DDD31

Accessibility & contrast

On white

4.97
#3A7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A7F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7F15
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7F15#FFFFFF#000000##FFFFFF
##3A7F151.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#357A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f15;
/* rgb */ color: rgb(58, 127, 21);
/* oklch */ color: oklch(53.1% 0.152 137.5);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#3a7f15',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f15;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f15",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 99.057,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.531,
    "c": 0.15184,
    "h": 137.5
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#3A7F15
secondary
#8A3CB4
accent
#39EEAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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