#4F981A#4F981A

#4F981A is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.169 H 135.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4F981A
RGBrgb(79, 152, 26)
HSLhsl(95, 71%, 35%)
HSVhsv(95, 83%, 60%)
CMYKcmyk(48%, 0%, 82.9%, 40.4%)
CIE-LABlab(56.28, -43.54, 53.60)
CIE-LCHlch(56.28, 69.05, 129.08°)
OKLaboklab(60.87% -0.1216 0.1181)
OKLCHoklch(60.87% 0.169 135.8)
XYZxyz(14.6388, 24.1924, 4.8753)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F981A #631A98
analogous
#8E981A #4F981A #1A9824
triadic
#4F981A #1A4F98 #981A4F
tetradic
#4F981A #1A8E98 #631A98 #98241A
square
#4F981A #1A8E98 #631A98 #98241A
split-complementary
#4F981A #241A98 #981A8E
monochromatic
#192F08 #346411 #4F981A #6ACC23 #8AE04C

Accessibility & contrast

On white

3.60
#4F981A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#4F981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F981A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F981A#FFFFFF#000000##000000
##4F981A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#4C9281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f981a;
/* rgb */ color: rgb(79, 152, 26);
/* oklch */ color: oklch(60.9% 0.169 135.8);
Tailwind
colors: {
  custom: {
    50: '#88b763',
    500: '#4f981a',
    950: '#000000',
  },
}
SCSS
$custom: #4f981a;
$custom-light: #88b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4f981a",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 94.762,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.16949,
    "h": 135.8
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#4F981A
secondary
#904BC2
accent
#3AEEA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F981A

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

Preview Lab → · Contrast checker → · Palette generator →

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