#4A7416#4A7416

#4A7416 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.129 H 131.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4A7416
RGBrgb(74, 116, 22)
HSLhsl(87, 68%, 27%)
HSVhsv(87, 81%, 45%)
CMYKcmyk(36.2%, 0%, 81%, 54.5%)
CIE-LABlab(44.24, -29.96, 43.61)
CIE-LCHlch(44.24, 52.91, 124.49°)
OKLaboklab(50.92% -0.085 0.0966)
OKLCHoklch(50.92% 0.129 131.4)
XYZxyz(9.2142, 14.0042, 2.9765)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7416 #401674
analogous
#746F16 #4A7416 #1B7416
triadic
#4A7416 #164A74 #74164A
tetradic
#4A7416 #16746F #401674 #74161B
square
#4A7416 #16746F #401674 #74161B
split-complementary
#4A7416 #161B74 #6F1674
monochromatic
#101A05 #29410C #4A7416 #6BA720 #8BD72D

Accessibility & contrast

On white

5.52
#4A7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4A7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7416
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7416#FFFFFF#000000##FFFFFF
##4A74161.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#746720
Tritanopia (blue-blind)
#4B6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7416;
/* rgb */ color: rgb(74, 116, 22);
/* oklch */ color: oklch(50.9% 0.129 131.4);
Tailwind
colors: {
  custom: {
    50: '#819c5c',
    500: '#4a7416',
    950: '#000000',
  },
}
SCSS
$custom: #4a7416;
$custom-light: #819c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7416",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 86.809,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.12864,
    "h": 131.4
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#4A7416
secondary
#6D3CAA
accent
#3DEB8B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7416

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

Preview Lab → · Contrast checker → · Palette generator →

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