#4F981B#4F981B

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

Color values

HEX#4F981B
RGBrgb(79, 152, 27)
HSLhsl(95, 70%, 35%)
HSVhsv(95, 82%, 60%)
CMYKcmyk(48%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.28, -43.49, 53.32)
CIE-LCHlch(56.28, 68.80, 129.20°)
OKLaboklab(60.87% -0.1214 0.1176)
OKLCHoklch(60.87% 0.169 135.9)
XYZxyz(14.6501, 24.1969, 4.9352)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F981B #641B98
analogous
#8D981B #4F981B #1B9826
triadic
#4F981B #1B4F98 #981B4F
tetradic
#4F981B #1B8D98 #641B98 #98261B
square
#4F981B #1B8D98 #641B98 #98261B
split-complementary
#4F981B #261B98 #981B8D
monochromatic
#193009 #346412 #4F981B #6ACC24 #8AE04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4f981b;
/* rgb */ color: rgb(79, 152, 27);
/* oklch */ color: oklch(60.9% 0.169 135.9);
Tailwind
colors: {
  custom: {
    50: '#88b763',
    500: '#4f981b',
    950: '#000000',
  },
}
SCSS
$custom: #4f981b;
$custom-light: #88b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4f981b",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 95.04,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.16904,
    "h": 135.9
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#4F981B
secondary
#914DC2
accent
#3BEDA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F981B

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

Preview Lab → · Contrast checker → · Palette generator →

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