#4A8D22#4A8D22

#4A8D22 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.154 H 136.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A8D22
RGBrgb(74, 141, 34)
HSLhsl(98, 61%, 34%)
HSVhsv(98, 76%, 55%)
CMYKcmyk(47.5%, 0%, 75.9%, 44.7%)
CIE-LABlab(52.53, -40.20, 47.37)
CIE-LCHlch(52.53, 62.13, 130.32°)
OKLaboklab(57.74% -0.1118 0.1063)
OKLCHoklch(57.74% 0.154 136.4)
XYZxyz(12.6373, 20.6203, 4.8273)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8D22 #65228D
analogous
#808D22 #4A8D22 #228D30
triadic
#4A8D22 #224A8D #8D224A
tetradic
#4A8D22 #22808D #65228D #8D3022
square
#4A8D22 #22808D #65228D #8D3022
split-complementary
#4A8D22 #30228D #8D2280
monochromatic
#162A0A #305C16 #4A8D22 #64BE2E #84D654

Accessibility & contrast

On white

4.10
#4A8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8D22
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8D22#FFFFFF#000000##000000
##4A8D221.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#478878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a8d22;
/* rgb */ color: rgb(74, 141, 34);
/* oklch */ color: oklch(57.7% 0.154 136.4);
Tailwind
colors: {
  custom: {
    50: '#83af65',
    500: '#4a8d22',
    950: '#000000',
  },
}
SCSS
$custom: #4a8d22;
$custom-light: #83af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8d22",
  "rgb": {
    "r": 74,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 97.57,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.15428,
    "h": 136.4
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#4A8D22
secondary
#9351B9
accent
#44E4A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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