#4FAC1F#4FAC1F

#4FAC1F is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.2% C 0.191 H 137.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4FAC1F
RGBrgb(79, 172, 31)
HSLhsl(100, 69%, 40%)
HSVhsv(100, 82%, 67%)
CMYKcmyk(54.1%, 0%, 82%, 32.5%)
CIE-LABlab(62.73, -51.04, 58.10)
CIE-LCHlch(62.73, 77.33, 131.30°)
OKLaboklab(66.18% -0.1414 0.1283)
OKLCHoklch(66.18% 0.191 137.8)
XYZxyz(18.2237, 31.2648, 6.3705)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAC1F #7C1FAC
analogous
#96AC1F #4FAC1F #1FAC35
triadic
#4FAC1F #1F4FAC #AC1F4F
tetradic
#4FAC1F #1F96AC #7C1FAC #AC351F
square
#4FAC1F #1F96AC #7C1FAC #AC351F
split-complementary
#4FAC1F #351FAC #AC1F96
monochromatic
#1F440C #377816 #4FAC1F #69D92F #8EE363

Accessibility & contrast

On white

2.90
#4FAC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#4FAC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAC1F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAC1F#FFFFFF#000000##000000
##4FAC1F1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#48A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #4fac1f;
/* rgb */ color: rgb(79, 172, 31);
/* oklch */ color: oklch(66.2% 0.191 137.8);
Tailwind
colors: {
  custom: {
    50: '#8ac568',
    500: '#4fac1f',
    950: '#000000',
  },
}
SCSS
$custom: #4fac1f;
$custom-light: #8ac568;
$custom-dark: #000000;
JSON
{
  "hex": "#4fac1f",
  "rgb": {
    "r": 79,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 99.574,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.19093,
    "h": 137.8
  },
  "luminance": 0.31266
}

Semantic roles & 50–950 ramp

primary
#4FAC1F
secondary
#A45FC8
accent
#3CECB0
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FAC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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