#3A7516#3A7516

#3A7516 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.139 H 136.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3A7516
RGBrgb(58, 117, 22)
HSLhsl(97, 68%, 27%)
HSVhsv(97, 81%, 46%)
CMYKcmyk(50.4%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.77, -36.24, 42.88)
CIE-LCHlch(43.77, 56.15, 130.20°)
OKLaboklab(50.32% -0.1008 0.0954)
OKLCHoklch(50.32% 0.139 136.6)
XYZxyz(8.2508, 13.6795, 2.9645)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7516 #511675
analogous
#6A7516 #3A7516 #167522
triadic
#3A7516 #163A75 #75163A
tetradic
#3A7516 #166A75 #511675 #752216
square
#3A7516 #166A75 #511675 #752216
split-complementary
#3A7516 #221675 #75166A
monochromatic
#0D1A05 #20410C #3A7516 #54A920 #6ED82E

Accessibility & contrast

On white

5.62
#3A7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3A7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7516
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7516#FFFFFF#000000##FFFFFF
##3A75161.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#377063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a7516;
/* rgb */ color: rgb(58, 117, 22);
/* oklch */ color: oklch(50.3% 0.139 136.6);
Tailwind
colors: {
  custom: {
    50: '#779d5c',
    500: '#3a7516',
    950: '#000000',
  },
}
SCSS
$custom: #3a7516;
$custom-light: #779d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7516",
  "rgb": {
    "r": 58,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 97.263,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.13877,
    "h": 136.6
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#3A7516
secondary
#813CAB
accent
#3DEBA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7516

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

Preview Lab → · Contrast checker → · Palette generator →

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