#4A8716#4A8716

#4A8716 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.153 H 134.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4A8716
RGBrgb(74, 135, 22)
HSLhsl(92, 72%, 31%)
HSVhsv(92, 84%, 53%)
CMYKcmyk(45.2%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.50, -38.39, 49.40)
CIE-LCHlch(50.50, 62.56, 127.86°)
OKLaboklab(56.05% -0.1077 0.1087)
OKLCHoklch(56.05% 0.153 134.7)
XYZxyz(11.6326, 18.8410, 3.7826)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8716 #531687
analogous
#828716 #4A8716 #16871A
triadic
#4A8716 #164A87 #87164A
tetradic
#4A8716 #168287 #531687 #871A16
square
#4A8716 #168287 #531687 #871A16
split-complementary
#4A8716 #1A1687 #871682
monochromatic
#101E05 #2D520D #4A8716 #67BC1F #85DF39

Accessibility & contrast

On white

4.40
#4A8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4A8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8716
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8716#FFFFFF#000000##000000
##4A87161.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#498173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8716;
/* rgb */ color: rgb(74, 135, 22);
/* oklch */ color: oklch(56.0% 0.153 134.7);
Tailwind
colors: {
  custom: {
    50: '#83aa5f',
    500: '#4a8716',
    950: '#000000',
  },
}
SCSS
$custom: #4a8716;
$custom-light: #83aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8716",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 92.389,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.15303,
    "h": 134.7
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#4A8716
secondary
#813EBB
accent
#39EF9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8716

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

Preview Lab → · Contrast checker → · Palette generator →

#4A8716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva