#4FA71B#4FA71B

#4FA71B is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 64.8% C 0.187 H 137.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4FA71B
RGBrgb(79, 167, 27)
HSLhsl(98, 72%, 38%)
HSVhsv(98, 84%, 65%)
CMYKcmyk(52.7%, 0%, 83.8%, 34.5%)
CIE-LABlab(61.11, -49.35, 57.71)
CIE-LCHlch(61.11, 75.93, 130.54°)
OKLaboklab(64.85% -0.1371 0.1269)
OKLCHoklch(64.85% 0.187 137.2)
XYZxyz(17.2404, 29.3775, 5.7986)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA71B #731BA7
analogous
#95A71B #4FA71B #1BA72D
triadic
#4FA71B #1B4FA7 #A71B4F
tetradic
#4FA71B #1B95A7 #731BA7 #A72D1B
square
#4FA71B #1B95A7 #731BA7 #A72D1B
split-complementary
#4FA71B #2D1BA7 #A71B95
monochromatic
#1D3E0A #367212 #4FA71B #68DC24 #8CE458

Accessibility & contrast

On white

3.05
#4FA71B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#4FA71B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA71B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA71B#FFFFFF#000000##000000
##4FA71B1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#49A18E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4fa71b;
/* rgb */ color: rgb(79, 167, 27);
/* oklch */ color: oklch(64.8% 0.187 137.2);
Tailwind
colors: {
  custom: {
    50: '#8ac266',
    500: '#4fa71b',
    950: '#000000',
  },
}
SCSS
$custom: #4fa71b;
$custom-light: #8ac266;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa71b",
  "rgb": {
    "r": 79,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 97.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.1868,
    "h": 137.2
  },
  "luminance": 0.29379
}

Semantic roles & 50–950 ramp

primary
#4FA71B
secondary
#9D56C8
accent
#39EFAB
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #4FA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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