#4A9218#4A9218

#4A9218 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.0% C 0.166 H 136.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4A9218
RGBrgb(74, 146, 24)
HSLhsl(95, 72%, 33%)
HSVhsv(95, 84%, 57%)
CMYKcmyk(49.3%, 0%, 83.6%, 42.7%)
CIE-LABlab(54.11, -42.83, 52.11)
CIE-LCHlch(54.11, 67.45, 129.42°)
OKLaboklab(59.02% -0.1195 0.1147)
OKLCHoklch(59.02% 0.166 136.2)
XYZxyz(13.2674, 22.0787, 4.4265)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9218 #601892
analogous
#879218 #4A9218 #189223
triadic
#4A9218 #184A92 #92184A
tetradic
#4A9218 #188792 #601892 #922318
square
#4A9218 #188792 #601892 #922318
split-complementary
#4A9218 #231892 #921887
monochromatic
#152907 #2F5D0F #4A9218 #65C721 #84E044

Accessibility & contrast

On white

3.88
#4A9218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4A9218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9218
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9218#FFFFFF#000000##000000
##4A92181.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#478C7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a9218;
/* rgb */ color: rgb(74, 146, 24);
/* oklch */ color: oklch(59.0% 0.166 136.2);
Tailwind
colors: {
  custom: {
    50: '#84b261',
    500: '#4a9218',
    950: '#000000',
  },
}
SCSS
$custom: #4a9218;
$custom-light: #84b261;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9218",
  "rgb": {
    "r": 74,
    "g": 146,
    "b": 24
  },
  "hsl": {
    "h": 95.41,
    "s": 71.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.16565,
    "h": 136.2
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#4A9218
secondary
#8E45C1
accent
#39EEA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4A9218

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

Preview Lab → · Contrast checker → · Palette generator →

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