#4A981C#4A981C

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

Color values

HEX#4A981C
RGBrgb(74, 152, 28)
HSLhsl(98, 69%, 35%)
HSVhsv(98, 82%, 60%)
CMYKcmyk(51.3%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.08, -45.01, 52.76)
CIE-LCHlch(56.08, 69.35, 130.47°)
OKLaboklab(60.65% -0.1251 0.1167)
OKLCHoklch(60.65% 0.171 137)
XYZxyz(14.2614, 23.9951, 4.9784)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A981C #6A1C98
analogous
#88981C #4A981C #1C982C
triadic
#4A981C #1C4A98 #981C4A
tetradic
#4A981C #1C8898 #6A1C98 #982C1C
square
#4A981C #1C8898 #6A1C98 #982C1C
split-complementary
#4A981C #2C1C98 #981C88
monochromatic
#183109 #316412 #4A981C #63CC26 #85DF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A981C#FFFFFF#000000##000000
##4A981C1.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)
#93842B
Tritanopia (blue-blind)
#459281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a981c;
/* rgb */ color: rgb(74, 152, 28);
/* oklch */ color: oklch(60.6% 0.171 137.0);
Tailwind
colors: {
  custom: {
    50: '#85b764',
    500: '#4a981c',
    950: '#000000',
  },
}
SCSS
$custom: #4a981c;
$custom-light: #85b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4a981c",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 97.742,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60649,
    "c": 0.17109,
    "h": 137
  },
  "luminance": 0.23996
}

Semantic roles & 50–950 ramp

primary
#4A981C
secondary
#974EC1
accent
#3CECAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A981C

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

Preview Lab → · Contrast checker → · Palette generator →

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