#4FA41C#4FA41C

#4FA41C is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.1% C 0.183 H 137.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4FA41C
RGBrgb(79, 164, 28)
HSLhsl(98, 71%, 38%)
HSVhsv(98, 83%, 64%)
CMYKcmyk(51.8%, 0%, 82.9%, 35.7%)
CIE-LABlab(60.16, -48.16, 56.57)
CIE-LCHlch(60.16, 74.30, 130.41°)
OKLaboklab(64.06% -0.1339 0.1246)
OKLCHoklch(64.06% 0.183 137)
XYZxyz(16.7090, 28.2958, 5.6795)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA41C #711CA4
analogous
#93A41C #4FA41C #1CA42D
triadic
#4FA41C #1C4FA4 #A41C4F
tetradic
#4FA41C #1C93A4 #711CA4 #A42D1C
square
#4FA41C #1C93A4 #711CA4 #A42D1C
split-complementary
#4FA41C #2D1CA4 #A41C93
monochromatic
#1D3B0A #367013 #4FA41C #68D825 #8CE258

Accessibility & contrast

On white

3.15
#4FA41C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#4FA41C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA41C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA41C#FFFFFF#000000##000000
##4FA41C1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#4A9E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa41c;
/* rgb */ color: rgb(79, 164, 28);
/* oklch */ color: oklch(64.1% 0.183 137.0);
Tailwind
colors: {
  custom: {
    50: '#89c066',
    500: '#4fa41c',
    950: '#000000',
  },
}
SCSS
$custom: #4fa41c;
$custom-light: #89c066;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa41c",
  "rgb": {
    "r": 79,
    "g": 164,
    "b": 28
  },
  "hsl": {
    "h": 97.5,
    "s": 70.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64057,
    "c": 0.1829,
    "h": 137
  },
  "luminance": 0.28297
}

Semantic roles & 50–950 ramp

primary
#4FA41C
secondary
#9C56C6
accent
#3AEEAA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #4FA41C

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

Preview Lab → · Contrast checker → · Palette generator →

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