#4FAD1F#4FAD1F

#4FAD1F is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.4% C 0.192 H 137.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4FAD1F
RGBrgb(79, 173, 31)
HSLhsl(100, 70%, 40%)
HSVhsv(100, 82%, 68%)
CMYKcmyk(54.3%, 0%, 82.1%, 32.2%)
CIE-LABlab(63.05, -51.41, 58.39)
CIE-LCHlch(63.05, 77.80, 131.36°)
OKLaboklab(66.45% -0.1424 0.1289)
OKLCHoklch(66.45% 0.192 137.9)
XYZxyz(18.4147, 31.6469, 6.4341)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAD1F #7D1FAD
analogous
#96AD1F #4FAD1F #1FAD36
triadic
#4FAD1F #1F4FAD #AD1F4F
tetradic
#4FAD1F #1F96AD #7D1FAD #AD361F
square
#4FAD1F #1F96AD #7D1FAD #AD361F
split-complementary
#4FAD1F #361FAD #AD1F96
monochromatic
#20450C #377916 #4FAD1F #69DA2F #8FE363

Accessibility & contrast

On white

2.87
#4FAD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#4FAD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAD1F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAD1F#FFFFFF#000000##000000
##4FAD1F1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#47A793
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #4fad1f;
/* rgb */ color: rgb(79, 173, 31);
/* oklch */ color: oklch(66.4% 0.192 137.9);
Tailwind
colors: {
  custom: {
    50: '#8bc668',
    500: '#4fad1f',
    950: '#000000',
  },
}
SCSS
$custom: #4fad1f;
$custom-light: #8bc668;
$custom-dark: #000000;
JSON
{
  "hex": "#4fad1f",
  "rgb": {
    "r": 79,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 99.718,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.19208,
    "h": 137.9
  },
  "luminance": 0.31648
}

Semantic roles & 50–950 ramp

primary
#4FAD1F
secondary
#A560C8
accent
#3BECB1
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FAD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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