#4FA61F#4FA61F

#4FA61F is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.6% C 0.184 H 137.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4FA61F
RGBrgb(79, 166, 31)
HSLhsl(99, 69%, 39%)
HSVhsv(99, 81%, 65%)
CMYKcmyk(52.4%, 0%, 81.3%, 34.9%)
CIE-LABlab(60.81, -48.77, 56.33)
CIE-LCHlch(60.81, 74.51, 130.89°)
OKLaboklab(64.6% -0.1354 0.1246)
OKLCHoklch(64.6% 0.184 137.4)
XYZxyz(17.1074, 29.0323, 5.9984)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA61F #761FA6
analogous
#92A61F #4FA61F #1FA633
triadic
#4FA61F #1F4FA6 #A61F4F
tetradic
#4FA61F #1F92A6 #761FA6 #A6331F
square
#4FA61F #1F92A6 #761FA6 #A6331F
split-complementary
#4FA61F #331FA6 #A61F92
monochromatic
#1E3F0C #367215 #4FA61F #68D72B #8DE15E

Accessibility & contrast

On white

3.09
#4FA61F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#4FA61F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA61F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA61F#FFFFFF#000000##000000
##4FA61F1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#49A08D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4fa61f;
/* rgb */ color: rgb(79, 166, 31);
/* oklch */ color: oklch(64.6% 0.184 137.4);
Tailwind
colors: {
  custom: {
    50: '#8ac167',
    500: '#4fa61f',
    950: '#000000',
  },
}
SCSS
$custom: #4fa61f;
$custom-light: #8ac167;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa61f",
  "rgb": {
    "r": 79,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 98.667,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64601,
    "c": 0.18394,
    "h": 137.4
  },
  "luminance": 0.29034
}

Semantic roles & 50–950 ramp

primary
#4FA61F
secondary
#A05BC5
accent
#3CEBAD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #4FA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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