#4A8116#4A8116

#4A8116 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.145 H 133.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4A8116
RGBrgb(74, 129, 22)
HSLhsl(91, 71%, 30%)
HSVhsv(91, 83%, 51%)
CMYKcmyk(42.6%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.53, -35.82, 47.59)
CIE-LCHlch(48.53, 59.57, 126.97°)
OKLaboklab(54.43% -0.1008 0.1049)
OKLCHoklch(54.43% 0.146 133.8)
XYZxyz(10.8189, 17.2137, 3.5114)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8116 #4D1681
analogous
#808116 #4A8116 #168117
triadic
#4A8116 #164A81 #81164A
tetradic
#4A8116 #168081 #4D1681 #811716
square
#4A8116 #168081 #4D1681 #811716
split-complementary
#4A8116 #171681 #811680
monochromatic
#0F1A04 #2C4D0D #4A8116 #68B51F #86DD35

Accessibility & contrast

On white

4.73
#4A8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4A8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8116
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8116#FFFFFF#000000##FFFFFF
##4A81161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#4A7C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a8116;
/* rgb */ color: rgb(74, 129, 22);
/* oklch */ color: oklch(54.4% 0.145 133.8);
Tailwind
colors: {
  custom: {
    50: '#82a65e',
    500: '#4a8116',
    950: '#000000',
  },
}
SCSS
$custom: #4a8116;
$custom-light: #82a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8116",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 90.841,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.1455,
    "h": 133.8
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#4A8116
secondary
#7B3DB6
accent
#3AEE96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8116

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

Preview Lab → · Contrast checker → · Palette generator →

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