#4A871A#4A871A

#4A871A is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.151 H 135.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4A871A
RGBrgb(74, 135, 26)
HSLhsl(94, 68%, 32%)
HSVhsv(94, 81%, 53%)
CMYKcmyk(45.2%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.52, -38.18, 48.19)
CIE-LCHlch(50.52, 61.49, 128.39°)
OKLaboklab(56.07% -0.1069 0.1068)
OKLCHoklch(56.07% 0.151 135)
XYZxyz(11.6742, 18.8577, 4.0018)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A871A #571A87
analogous
#81871A #4A871A #1A8721
triadic
#4A871A #1A4A87 #871A4A
tetradic
#4A871A #1A8187 #571A87 #87211A
square
#4A871A #1A8187 #571A87 #87211A
split-complementary
#4A871A #211A87 #871A81
monochromatic
#122006 #2E5410 #4A871A #66BA24 #85DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A871A#FFFFFF#000000##000000
##4A871A1.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)
#847626
Tritanopia (blue-blind)
#488273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a871a;
/* rgb */ color: rgb(74, 135, 26);
/* oklch */ color: oklch(56.1% 0.151 135.0);
Tailwind
colors: {
  custom: {
    50: '#83aa60',
    500: '#4a871a',
    950: '#000000',
  },
}
SCSS
$custom: #4a871a;
$custom-light: #83aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a871a",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 93.578,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.15112,
    "h": 135
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#4A871A
secondary
#8642BA
accent
#3DEB9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A871A

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

Preview Lab → · Contrast checker → · Palette generator →

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