#4A8F22#4A8F22

#4A8F22 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.157 H 136.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4A8F22
RGBrgb(74, 143, 34)
HSLhsl(98, 62%, 35%)
HSVhsv(98, 76%, 56%)
CMYKcmyk(48.3%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.18, -41.02, 48.02)
CIE-LCHlch(53.18, 63.16, 130.51°)
OKLaboklab(58.28% -0.114 0.1077)
OKLCHoklch(58.28% 0.157 136.6)
XYZxyz(12.9349, 21.2154, 4.9265)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F22 #67228F
analogous
#808F22 #4A8F22 #228F31
triadic
#4A8F22 #224A8F #8F224A
tetradic
#4A8F22 #22808F #67228F #8F3122
square
#4A8F22 #22808F #67228F #8F3122
split-complementary
#4A8F22 #31228F #8F2280
monochromatic
#172C0A #305E16 #4A8F22 #64C02E #84D755

Accessibility & contrast

On white

4.01
#4A8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4A8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8F22
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8F22#FFFFFF#000000##000000
##4A8F221.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830B
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#468A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f22;
/* rgb */ color: rgb(74, 143, 34);
/* oklch */ color: oklch(58.3% 0.157 136.6);
Tailwind
colors: {
  custom: {
    50: '#83b065',
    500: '#4a8f22',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f22;
$custom-light: #83b065;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f22",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 97.982,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.15682,
    "h": 136.6
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#4A8F22
secondary
#9452BA
accent
#43E5A9
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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