#3A7F16#3A7F16

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

Color values

HEX#3A7F16
RGBrgb(58, 127, 22)
HSLhsl(99, 70%, 29%)
HSVhsv(99, 83%, 50%)
CMYKcmyk(54.3%, 0%, 82.7%, 50.2%)
CIE-LABlab(47.15, -40.34, 46.06)
CIE-LCHlch(47.15, 61.23, 131.21°)
OKLaboklab(53.11% -0.1118 0.102)
OKLCHoklch(53.11% 0.151 137.6)
XYZxyz(9.4788, 16.1355, 3.3739)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F16 #5B167F
analogous
#6F7F16 #3A7F16 #167F27
triadic
#3A7F16 #163A7F #7F163A
tetradic
#3A7F16 #166F7F #5B167F #7F2716
square
#3A7F16 #166F7F #5B167F #7F2716
split-complementary
#3A7F16 #27167F #7F166F
monochromatic
#0C1A05 #224B0D #3A7F16 #52B31F #6DDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7F16#FFFFFF#000000##FFFFFF
##3A7F161.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: #3a7f16;
/* rgb */ color: rgb(58, 127, 22);
/* oklch */ color: oklch(53.1% 0.151 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#3a7f16',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f16;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f16",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 99.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.15136,
    "h": 137.6
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

primary
#3A7F16
secondary
#8B3DB4
accent
#3BEDB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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