#3A7116#3A7116

#3A7116 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.2% C 0.134 H 136.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A7116
RGBrgb(58, 113, 22)
HSLhsl(96, 67%, 26%)
HSVhsv(96, 81%, 44%)
CMYKcmyk(48.7%, 0%, 80.5%, 55.7%)
CIE-LABlab(42.41, -34.54, 41.59)
CIE-LCHlch(42.41, 54.06, 129.71°)
OKLaboklab(49.2% -0.0962 0.0926)
OKLCHoklch(49.2% 0.134 136.1)
XYZxyz(7.7947, 12.7672, 2.8125)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7116 #4D1671
analogous
#687116 #3A7116 #167120
triadic
#3A7116 #163A71 #71163A
tetradic
#3A7116 #166871 #4D1671 #712016
square
#3A7116 #166871 #4D1671 #712016
split-complementary
#3A7116 #201671 #711668
monochromatic
#0D1A05 #203E0C #3A7116 #54A420 #6FD62C

Accessibility & contrast

On white

5.91
#3A7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7116
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7116#FFFFFF#000000##FFFFFF
##3A71161.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#386D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a7116;
/* rgb */ color: rgb(58, 113, 22);
/* oklch */ color: oklch(49.2% 0.134 136.1);
Tailwind
colors: {
  custom: {
    50: '#769a5b',
    500: '#3a7116',
    950: '#000000',
  },
}
SCSS
$custom: #3a7116;
$custom-light: #769a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7116",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 96.264,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49204,
    "c": 0.13358,
    "h": 136.1
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#3A7116
secondary
#7D3CA7
accent
#3EEAA6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7116

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

Preview Lab → · Contrast checker → · Palette generator →

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