#4A7916#4A7916

#4A7916 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.135 H 132.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A7916
RGBrgb(74, 121, 22)
HSLhsl(88, 69%, 28%)
HSVhsv(88, 82%, 47%)
CMYKcmyk(38.8%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.89, -32.26, 45.16)
CIE-LCHlch(45.89, 55.50, 125.54°)
OKLaboklab(52.27% -0.0912 0.0998)
OKLCHoklch(52.27% 0.135 132.4)
XYZxyz(9.8061, 15.1881, 3.1738)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7916 #451679
analogous
#797616 #4A7916 #187916
triadic
#4A7916 #164A79 #79164A
tetradic
#4A7916 #167976 #451679 #791618
square
#4A7916 #167976 #451679 #791618
split-complementary
#4A7916 #161879 #761679
monochromatic
#101A05 #2A450D #4A7916 #6AAD1F #89D930

Accessibility & contrast

On white

5.20
#4A7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4A7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7916
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7916#FFFFFF#000000##FFFFFF
##4A79161.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#4B7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a7916;
/* rgb */ color: rgb(74, 121, 22);
/* oklch */ color: oklch(52.3% 0.135 132.4);
Tailwind
colors: {
  custom: {
    50: '#81a05d',
    500: '#4a7916',
    950: '#000000',
  },
}
SCSS
$custom: #4a7916;
$custom-light: #81a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7916",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 88.485,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.13521,
    "h": 132.4
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#4A7916
secondary
#733DAE
accent
#3CEC8F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7916

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

Preview Lab → · Contrast checker → · Palette generator →

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