#4A981A#4A981A

#4A981A is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.6% C 0.172 H 136.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A981A
RGBrgb(74, 152, 26)
HSLhsl(97, 71%, 35%)
HSVhsv(97, 83%, 60%)
CMYKcmyk(51.3%, 0%, 82.9%, 40.4%)
CIE-LABlab(56.07, -45.11, 53.34)
CIE-LCHlch(56.07, 69.86, 130.23°)
OKLaboklab(60.64% -0.1255 0.1176)
OKLCHoklch(60.64% 0.172 136.9)
XYZxyz(14.2383, 23.9859, 4.8565)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A981A #681A98
analogous
#89981A #4A981A #1A9829
triadic
#4A981A #1A4A98 #981A4A
tetradic
#4A981A #1A8998 #681A98 #98291A
square
#4A981A #1A8998 #681A98 #98291A
split-complementary
#4A981A #291A98 #981A89
monochromatic
#172F08 #316411 #4A981A #63CC23 #85E04C

Accessibility & contrast

On white

3.62
#4A981A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#4A981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A981A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A981A#FFFFFF#000000##000000
##4A981A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#459281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a981a;
/* rgb */ color: rgb(74, 152, 26);
/* oklch */ color: oklch(60.6% 0.172 136.9);
Tailwind
colors: {
  custom: {
    50: '#85b763',
    500: '#4a981a',
    950: '#000000',
  },
}
SCSS
$custom: #4a981a;
$custom-light: #85b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4a981a",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 97.143,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60638,
    "c": 0.17199,
    "h": 136.9
  },
  "luminance": 0.23987
}

Semantic roles & 50–950 ramp

primary
#4A981A
secondary
#954BC2
accent
#3AEEA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A981A

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

Preview Lab → · Contrast checker → · Palette generator →

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