#4A8820#4A8820

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

Color values

HEX#4A8820
RGBrgb(74, 136, 32)
HSLhsl(96, 62%, 33%)
HSVhsv(96, 76%, 53%)
CMYKcmyk(45.6%, 0%, 76.5%, 46.7%)
CIE-LABlab(50.88, -38.23, 46.48)
CIE-LCHlch(50.88, 60.18, 129.44°)
OKLaboklab(56.38% -0.1066 0.1042)
OKLCHoklch(56.38% 0.149 135.7)
XYZxyz(11.8886, 19.1677, 4.4395)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8820 #5E2088
analogous
#7E8820 #4A8820 #20882A
triadic
#4A8820 #204A88 #88204A
tetradic
#4A8820 #207E88 #5E2088 #882A20
square
#4A8820 #207E88 #5E2088 #882A20
split-complementary
#4A8820 #2A2088 #88207E
monochromatic
#142509 #2F5614 #4A8820 #65BA2C #84D54D

Accessibility & contrast

On white

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

On black

4.83
#4A8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8820
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8820#FFFFFF#000000##000000
##4A88201.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a8820;
/* rgb */ color: rgb(74, 136, 32);
/* oklch */ color: oklch(56.4% 0.149 135.7);
Tailwind
colors: {
  custom: {
    50: '#82ab63',
    500: '#4a8820',
    950: '#000000',
  },
}
SCSS
$custom: #4a8820;
$custom-light: #82ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8820",
  "rgb": {
    "r": 74,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 95.769,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.14905,
    "h": 135.7
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#4A8820
secondary
#8C4CB8
accent
#43E5A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8820

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

Preview Lab → · Contrast checker → · Palette generator →

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