#4A8719#4A8719

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

Color values

HEX#4A8719
RGBrgb(74, 135, 25)
HSLhsl(93, 69%, 31%)
HSVhsv(93, 81%, 53%)
CMYKcmyk(45.2%, 0%, 81.5%, 47.1%)
CIE-LABlab(50.52, -38.24, 48.51)
CIE-LCHlch(50.52, 61.77, 128.25°)
OKLaboklab(56.07% -0.1071 0.1073)
OKLCHoklch(56.07% 0.152 134.9)
XYZxyz(11.6632, 18.8533, 3.9440)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8719 #561987
analogous
#818719 #4A8719 #19871F
triadic
#4A8719 #194A87 #87194A
tetradic
#4A8719 #198187 #561987 #871F19
square
#4A8719 #198187 #561987 #871F19
split-complementary
#4A8719 #1F1987 #871981
monochromatic
#112006 #2E530F #4A8719 #66BB23 #85DB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8719#FFFFFF#000000##000000
##4A87191.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: #4a8719;
/* rgb */ color: rgb(74, 135, 25);
/* oklch */ color: oklch(56.1% 0.152 134.9);
Tailwind
colors: {
  custom: {
    50: '#83aa60',
    500: '#4a8719',
    950: '#000000',
  },
}
SCSS
$custom: #4a8719;
$custom-light: #83aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8719",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 93.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.15162,
    "h": 134.9
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#4A8719
secondary
#8541BA
accent
#3CEC9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8719

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

Preview Lab → · Contrast checker → · Palette generator →

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