#3A7E16#3A7E16

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

Color values

HEX#3A7E16
RGBrgb(58, 126, 22)
HSLhsl(99, 70%, 29%)
HSVhsv(99, 83%, 49%)
CMYKcmyk(54%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.81, -39.94, 45.75)
CIE-LCHlch(46.81, 60.73, 131.12°)
OKLaboklab(52.83% -0.1107 0.1014)
OKLCHoklch(52.83% 0.15 137.5)
XYZxyz(9.3503, 15.8785, 3.3310)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E16 #5A167E
analogous
#6E7E16 #3A7E16 #167E26
triadic
#3A7E16 #163A7E #7E163A
tetradic
#3A7E16 #166E7E #5A167E #7E2616
square
#3A7E16 #166E7E #5A167E #7E2616
split-complementary
#3A7E16 #26167E #7E166E
monochromatic
#0C1A05 #224A0D #3A7E16 #52B21F #6DDB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7E16#FFFFFF#000000##FFFFFF
##3A7E161.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: #3a7e16;
/* rgb */ color: rgb(58, 126, 22);
/* oklch */ color: oklch(52.8% 0.150 137.5);
Tailwind
colors: {
  custom: {
    50: '#78a45d',
    500: '#3a7e16',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e16;
$custom-light: #78a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e16",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 99.231,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.15012,
    "h": 137.5
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#3A7E16
secondary
#8A3DB3
accent
#3BEDAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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