#4A981D#4A981D

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

Color values

HEX#4A981D
RGBrgb(74, 152, 29)
HSLhsl(98, 68%, 35%)
HSVhsv(98, 81%, 60%)
CMYKcmyk(51.3%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.09, -44.96, 52.47)
CIE-LCHlch(56.09, 69.09, 130.59°)
OKLaboklab(60.65% -0.1249 0.1162)
OKLCHoklch(60.65% 0.171 137.1)
XYZxyz(14.2736, 24.0000, 5.0425)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A981D #6B1D98
analogous
#87981D #4A981D #1D982E
triadic
#4A981D #1D4A98 #981D4A
tetradic
#4A981D #1D8798 #6B1D98 #982E1D
square
#4A981D #1D8798 #6B1D98 #982E1D
split-complementary
#4A981D #2E1D98 #981D87
monochromatic
#183109 #316513 #4A981D #63CB27 #85DE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A981D#FFFFFF#000000##000000
##4A981D1.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: #4a981d;
/* rgb */ color: rgb(74, 152, 29);
/* oklch */ color: oklch(60.7% 0.171 137.1);
Tailwind
colors: {
  custom: {
    50: '#85b764',
    500: '#4a981d',
    950: '#000000',
  },
}
SCSS
$custom: #4a981d;
$custom-light: #85b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4a981d",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 98.049,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.17061,
    "h": 137.1
  },
  "luminance": 0.24001
}

Semantic roles & 50–950 ramp

primary
#4A981D
secondary
#9850C1
accent
#3DEBAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A981D

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

Preview Lab → · Contrast checker → · Palette generator →

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