#4FAB1C#4FAB1C

#4FAB1C is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 65.9% C 0.191 H 137.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4FAB1C
RGBrgb(79, 171, 28)
HSLhsl(99, 72%, 39%)
HSVhsv(99, 84%, 67%)
CMYKcmyk(53.8%, 0%, 83.6%, 32.9%)
CIE-LABlab(62.40, -50.81, 58.60)
CIE-LCHlch(62.40, 77.56, 130.93°)
OKLaboklab(65.91% -0.141 0.1289)
OKLCHoklch(65.91% 0.191 137.6)
XYZxyz(17.9964, 30.8705, 6.1087)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAB1C #781CAB
analogous
#97AB1C #4FAB1C #1CAB30
triadic
#4FAB1C #1C4FAB #AB1C4F
tetradic
#4FAB1C #1C97AB #781CAB #AB301C
square
#4FAB1C #1C97AB #781CAB #AB301C
split-complementary
#4FAB1C #301CAB #AB1C97
monochromatic
#1E420B #377613 #4FAB1C #68DC28 #8DE45D

Accessibility & contrast

On white

2.93
#4FAB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#4FAB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAB1C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAB1C#FFFFFF#000000##000000
##4FAB1C1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#48A592
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #4fab1c;
/* rgb */ color: rgb(79, 171, 28);
/* oklch */ color: oklch(65.9% 0.191 137.6);
Tailwind
colors: {
  custom: {
    50: '#8ac567',
    500: '#4fab1c',
    950: '#000000',
  },
}
SCSS
$custom: #4fab1c;
$custom-light: #8ac567;
$custom-dark: #000000;
JSON
{
  "hex": "#4fab1c",
  "rgb": {
    "r": 79,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 98.601,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65906,
    "c": 0.19102,
    "h": 137.6
  },
  "luminance": 0.30872
}

Semantic roles & 50–950 ramp

primary
#4FAB1C
secondary
#A15AC9
accent
#39EFAE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FAB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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