#4F981F#4F981F

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

Color values

HEX#4F981F
RGBrgb(79, 152, 31)
HSLhsl(96, 66%, 36%)
HSVhsv(96, 80%, 60%)
CMYKcmyk(48%, 0%, 79.6%, 40.4%)
CIE-LABlab(56.30, -43.27, 52.12)
CIE-LCHlch(56.30, 67.74, 129.70°)
OKLaboklab(60.89% -0.1206 0.1157)
OKLCHoklch(60.89% 0.167 136.2)
XYZxyz(14.6996, 24.2167, 5.1958)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F981F #681F98
analogous
#8B981F #4F981F #1F982B
triadic
#4F981F #1F4F98 #981F4F
tetradic
#4F981F #1F8B98 #681F98 #982B1F
square
#4F981F #1F8B98 #681F98 #982B1F
split-complementary
#4F981F #2B1F98 #981F8B
monochromatic
#1A320A #356515 #4F981F #69CB29 #8BDC55

Accessibility & contrast

On white

3.59
#4F981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F981F#FFFFFF#000000##000000
##4F981F1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#4C9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f981f;
/* rgb */ color: rgb(79, 152, 31);
/* oklch */ color: oklch(60.9% 0.167 136.2);
Tailwind
colors: {
  custom: {
    50: '#88b765',
    500: '#4f981f',
    950: '#000000',
  },
}
SCSS
$custom: #4f981f;
$custom-light: #88b765;
$custom-dark: #000000;
JSON
{
  "hex": "#4f981f",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 96.198,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.16712,
    "h": 136.2
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

primary
#4F981F
secondary
#9553C0
accent
#3FE9A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F981F

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

Preview Lab → · Contrast checker → · Palette generator →

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