#4A8622#4A8622

#4A8622 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.145 H 135.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4A8622
RGBrgb(74, 134, 34)
HSLhsl(96, 60%, 33%)
HSVhsv(96, 75%, 53%)
CMYKcmyk(44.8%, 0%, 74.6%, 47.5%)
CIE-LABlab(50.24, -37.24, 45.09)
CIE-LCHlch(50.24, 58.48, 129.55°)
OKLaboklab(55.86% -0.1038 0.1016)
OKLCHoklch(55.86% 0.145 135.6)
XYZxyz(11.6376, 18.6209, 4.4940)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8622 #5E2286
analogous
#7C8622 #4A8622 #22862C
triadic
#4A8622 #224A86 #86224A
tetradic
#4A8622 #227C86 #5E2286 #862C22
square
#4A8622 #227C86 #5E2286 #862C22
split-complementary
#4A8622 #2C2286 #86227C
monochromatic
#142409 #2F5516 #4A8622 #65B72E #84D350

Accessibility & contrast

On white

4.45
#4A8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4A8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8622
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8622#FFFFFF#000000##000000
##4A86221.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#488173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8622;
/* rgb */ color: rgb(74, 134, 34);
/* oklch */ color: oklch(55.9% 0.145 135.6);
Tailwind
colors: {
  custom: {
    50: '#82aa64',
    500: '#4a8622',
    950: '#000000',
  },
}
SCSS
$custom: #4a8622;
$custom-light: #82aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8622",
  "rgb": {
    "r": 74,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 96,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.14521,
    "h": 135.6
  },
  "luminance": 0.18622
}

Semantic roles & 50–950 ramp

primary
#4A8622
secondary
#8C4EB6
accent
#45E3A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8622

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

Preview Lab → · Contrast checker → · Palette generator →

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