#4A8822#4A8822

#4A8822 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.4% C 0.148 H 135.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4A8822
RGBrgb(74, 136, 34)
HSLhsl(96, 60%, 33%)
HSVhsv(96, 75%, 53%)
CMYKcmyk(45.6%, 0%, 75%, 46.7%)
CIE-LABlab(50.90, -38.09, 45.75)
CIE-LCHlch(50.90, 59.53, 129.78°)
OKLaboklab(56.4% -0.1061 0.1029)
OKLCHoklch(56.4% 0.148 135.9)
XYZxyz(11.9166, 19.1789, 4.5871)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8822 #602288
analogous
#7D8822 #4A8822 #22882D
triadic
#4A8822 #224A88 #88224A
tetradic
#4A8822 #227D88 #602288 #882D22
square
#4A8822 #227D88 #602288 #882D22
split-complementary
#4A8822 #2D2288 #88227D
monochromatic
#15260A #2F5716 #4A8822 #65B92E #84D351

Accessibility & contrast

On white

4.34
#4A8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4A8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8822
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8822#FFFFFF#000000##000000
##4A88221.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#488374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a8822;
/* rgb */ color: rgb(74, 136, 34);
/* oklch */ color: oklch(56.4% 0.148 135.9);
Tailwind
colors: {
  custom: {
    50: '#82ab64',
    500: '#4a8822',
    950: '#000000',
  },
}
SCSS
$custom: #4a8822;
$custom-light: #82ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8822",
  "rgb": {
    "r": 74,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 96.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.14782,
    "h": 135.9
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#4A8822
secondary
#8E4FB7
accent
#45E3A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8822

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

Preview Lab → · Contrast checker → · Palette generator →

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