#4A9122#4A9122

#4A9122 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.8% C 0.159 H 136.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4A9122
RGBrgb(74, 145, 34)
HSLhsl(98, 62%, 35%)
HSVhsv(98, 77%, 57%)
CMYKcmyk(49%, 0%, 76.6%, 43.1%)
CIE-LABlab(53.84, -41.84, 48.66)
CIE-LCHlch(53.84, 64.18, 130.69°)
OKLaboklab(58.81% -0.1162 0.109)
OKLCHoklch(58.81% 0.159 136.8)
XYZxyz(13.2378, 21.8212, 5.0274)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9122 #692291
analogous
#829122 #4A9122 #229131
triadic
#4A9122 #224A91 #91224A
tetradic
#4A9122 #228291 #692291 #913122
square
#4A9122 #228291 #692291 #913122
split-complementary
#4A9122 #312291 #912282
monochromatic
#172E0B #315F16 #4A9122 #63C32E #85D756

Accessibility & contrast

On white

3.91
#4A9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4A9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9122
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9122#FFFFFF#000000##000000
##4A91221.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840A
Deuteranopia (green-blind)
#8D7E2E
Tritanopia (blue-blind)
#468C7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a9122;
/* rgb */ color: rgb(74, 145, 34);
/* oklch */ color: oklch(58.8% 0.159 136.8);
Tailwind
colors: {
  custom: {
    50: '#84b265',
    500: '#4a9122',
    950: '#000000',
  },
}
SCSS
$custom: #4a9122;
$custom-light: #84b265;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9122",
  "rgb": {
    "r": 74,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 98.378,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58811,
    "c": 0.15935,
    "h": 136.8
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

primary
#4A9122
secondary
#9653BB
accent
#43E5AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #4A9122

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

Preview Lab → · Contrast checker → · Palette generator →

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