#4F981C#4F981C

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

Color values

HEX#4F981C
RGBrgb(79, 152, 28)
HSLhsl(95, 69%, 35%)
HSVhsv(95, 82%, 60%)
CMYKcmyk(48%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.29, -43.44, 53.03)
CIE-LCHlch(56.29, 68.55, 129.32°)
OKLaboklab(60.88% -0.1212 0.1172)
OKLCHoklch(60.88% 0.169 136)
XYZxyz(14.6619, 24.2016, 4.9972)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F981C #651C98
analogous
#8D981C #4F981C #1C9827
triadic
#4F981C #1C4F98 #981C4F
tetradic
#4F981C #1C8D98 #651C98 #98271C
square
#4F981C #1C8D98 #651C98 #98271C
split-complementary
#4F981C #271C98 #981C8D
monochromatic
#193109 #346412 #4F981C #6ACC26 #8BDF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F981C#FFFFFF#000000##000000
##4F981C1.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: #4f981c;
/* rgb */ color: rgb(79, 152, 28);
/* oklch */ color: oklch(60.9% 0.169 136.0);
Tailwind
colors: {
  custom: {
    50: '#88b764',
    500: '#4f981c',
    950: '#000000',
  },
}
SCSS
$custom: #4f981c;
$custom-light: #88b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4f981c",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 95.323,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.16859,
    "h": 136
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#4F981C
secondary
#924EC1
accent
#3CECA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F981C

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

Preview Lab → · Contrast checker → · Palette generator →

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