#4A7616#4A7616

#4A7616 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.131 H 131.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4A7616
RGBrgb(74, 118, 22)
HSLhsl(88, 69%, 27%)
HSVhsv(88, 81%, 46%)
CMYKcmyk(37.3%, 0%, 81.4%, 53.7%)
CIE-LABlab(44.90, -30.89, 44.23)
CIE-LCHlch(44.90, 53.95, 124.93°)
OKLaboklab(51.46% -0.0875 0.0979)
OKLCHoklch(51.46% 0.131 131.8)
XYZxyz(9.4472, 14.4703, 3.0542)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7616 #421676
analogous
#767216 #4A7616 #1A7616
triadic
#4A7616 #164A76 #76164A
tetradic
#4A7616 #167672 #421676 #76161A
square
#4A7616 #167672 #421676 #76161A
split-complementary
#4A7616 #161A76 #721676
monochromatic
#101A05 #2A420C #4A7616 #6AAA20 #8AD82E

Accessibility & contrast

On white

5.39
#4A7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4A7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7616
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7616#FFFFFF#000000##FFFFFF
##4A76161.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#4B7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a7616;
/* rgb */ color: rgb(74, 118, 22);
/* oklch */ color: oklch(51.5% 0.131 131.8);
Tailwind
colors: {
  custom: {
    50: '#819e5c',
    500: '#4a7616',
    950: '#000000',
  },
}
SCSS
$custom: #4a7616;
$custom-light: #819e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7616",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 87.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.13128,
    "h": 131.8
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#4A7616
secondary
#6F3CAC
accent
#3CEB8D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7616

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

Preview Lab → · Contrast checker → · Palette generator →

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