#4F981D#4F981D

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

Color values

HEX#4F981D
RGBrgb(79, 152, 29)
HSLhsl(96, 68%, 35%)
HSVhsv(96, 81%, 60%)
CMYKcmyk(48%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.29, -43.38, 52.73)
CIE-LCHlch(56.29, 68.28, 129.44°)
OKLaboklab(60.88% -0.121 0.1167)
OKLCHoklch(60.88% 0.168 136)
XYZxyz(14.6741, 24.2065, 5.0613)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F981D #661D98
analogous
#8C981D #4F981D #1D9829
triadic
#4F981D #1D4F98 #981D4F
tetradic
#4F981D #1D8C98 #661D98 #98291D
square
#4F981D #1D8C98 #661D98 #98291D
split-complementary
#4F981D #291D98 #981D8C
monochromatic
#1A3109 #346513 #4F981D #6ACB27 #8BDE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F981D#FFFFFF#000000##000000
##4F981D1.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)
#94852B
Tritanopia (blue-blind)
#4C9281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f981d;
/* rgb */ color: rgb(79, 152, 29);
/* oklch */ color: oklch(60.9% 0.168 136.0);
Tailwind
colors: {
  custom: {
    50: '#88b764',
    500: '#4f981d',
    950: '#000000',
  },
}
SCSS
$custom: #4f981d;
$custom-light: #88b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4f981d",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 95.61,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.16811,
    "h": 136
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#4F981D
secondary
#9350C1
accent
#3DEBA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F981D

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

Preview Lab → · Contrast checker → · Palette generator →

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