#4A981E#4A981E

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

Color values

HEX#4A981E
RGBrgb(74, 152, 30)
HSLhsl(98, 67%, 36%)
HSVhsv(98, 80%, 60%)
CMYKcmyk(51.3%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.09, -44.90, 52.16)
CIE-LCHlch(56.09, 68.83, 130.72°)
OKLaboklab(60.66% -0.1247 0.1158)
OKLCHoklch(60.66% 0.17 137.1)
XYZxyz(14.2862, 24.0050, 5.1087)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A981E #6C1E98
analogous
#87981E #4A981E #1E982F
triadic
#4A981E #1E4A98 #981E4A
tetradic
#4A981E #1E8798 #6C1E98 #982F1E
square
#4A981E #1E8798 #6C1E98 #982F1E
split-complementary
#4A981E #2F1E98 #981E87
monochromatic
#18320A #316514 #4A981E #63CB28 #85DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4a981e;
/* rgb */ color: rgb(74, 152, 30);
/* oklch */ color: oklch(60.7% 0.170 137.1);
Tailwind
colors: {
  custom: {
    50: '#85b765',
    500: '#4a981e',
    950: '#000000',
  },
}
SCSS
$custom: #4a981e;
$custom-light: #85b765;
$custom-dark: #000000;
JSON
{
  "hex": "#4a981e",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 98.361,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.17013,
    "h": 137.1
  },
  "luminance": 0.24006
}

Semantic roles & 50–950 ramp

primary
#4A981E
secondary
#9851C0
accent
#3EEAAC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A981E

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

Preview Lab → · Contrast checker → · Palette generator →

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