#4FA61C#4FA61C

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

Color values

HEX#4FA61C
RGBrgb(79, 166, 28)
HSLhsl(98, 71%, 38%)
HSVhsv(98, 83%, 65%)
CMYKcmyk(52.4%, 0%, 83.1%, 34.9%)
CIE-LABlab(60.80, -48.92, 57.16)
CIE-LCHlch(60.80, 75.24, 130.56°)
OKLaboklab(64.59% -0.1359 0.1259)
OKLCHoklch(64.59% 0.185 137.2)
XYZxyz(17.0697, 29.0173, 5.7998)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA61C #731CA6
analogous
#94A61C #4FA61C #1CA62E
triadic
#4FA61C #1C4FA6 #A61C4F
tetradic
#4FA61C #1C94A6 #731CA6 #A62E1C
square
#4FA61C #1C94A6 #731CA6 #A62E1C
split-complementary
#4FA61C #2E1CA6 #A61C94
monochromatic
#1D3D0A #367213 #4FA61C #68DA25 #8CE359

Accessibility & contrast

On white

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

On black

6.80
#4FA61C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA61C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA61C#FFFFFF#000000##000000
##4FA61C1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4fa61c;
/* rgb */ color: rgb(79, 166, 28);
/* oklch */ color: oklch(64.6% 0.185 137.2);
Tailwind
colors: {
  custom: {
    50: '#8ac166',
    500: '#4fa61c',
    950: '#000000',
  },
}
SCSS
$custom: #4fa61c;
$custom-light: #8ac166;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa61c",
  "rgb": {
    "r": 79,
    "g": 166,
    "b": 28
  },
  "hsl": {
    "h": 97.826,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64586,
    "c": 0.18524,
    "h": 137.2
  },
  "luminance": 0.29019
}

Semantic roles & 50–950 ramp

primary
#4FA61C
secondary
#9D57C7
accent
#3AEEAB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #4FA61C

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

Preview Lab → · Contrast checker → · Palette generator →

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