#3A7E15#3A7E15

#3A7E15 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.8% C 0.151 H 137.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A7E15
RGBrgb(58, 126, 21)
HSLhsl(99, 71%, 29%)
HSVhsv(99, 83%, 49%)
CMYKcmyk(54%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.81, -39.99, 46.05)
CIE-LCHlch(46.81, 61.00, 130.97°)
OKLaboklab(52.82% -0.111 0.1018)
OKLCHoklch(52.82% 0.151 137.5)
XYZxyz(9.3408, 15.8747, 3.2812)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E15 #59157E
analogous
#6F7E15 #3A7E15 #157E25
triadic
#3A7E15 #153A7E #7E153A
tetradic
#3A7E15 #156F7E #59157E #7E2515
square
#3A7E15 #156F7E #59157E #7E2515
split-complementary
#3A7E15 #25157E #7E156F
monochromatic
#0C1A04 #224A0C #3A7E15 #52B21E #6DDD31

Accessibility & contrast

On white

5.03
#3A7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3A7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7E15
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E15#FFFFFF#000000##FFFFFF
##3A7E151.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#35796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e15;
/* rgb */ color: rgb(58, 126, 21);
/* oklch */ color: oklch(52.8% 0.151 137.5);
Tailwind
colors: {
  custom: {
    50: '#78a45d',
    500: '#3a7e15',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e15;
$custom-light: #78a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e15",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 98.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.15061,
    "h": 137.5
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#3A7E15
secondary
#893CB3
accent
#3AEEAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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