#4FA01F#4FA01F

#4FA01F is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.0% C 0.177 H 136.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4FA01F
RGBrgb(79, 160, 31)
HSLhsl(98, 68%, 37%)
HSVhsv(98, 81%, 63%)
CMYKcmyk(50.6%, 0%, 80.6%, 37.3%)
CIE-LABlab(58.88, -46.45, 54.54)
CIE-LCHlch(58.88, 71.64, 130.42°)
OKLaboklab(63.01% -0.1291 0.1208)
OKLCHoklch(63.01% 0.177 136.9)
XYZxyz(16.0421, 26.9017, 5.6433)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA01F #701FA0
analogous
#90A01F #4FA01F #1FA02F
triadic
#4FA01F #1F4FA0 #A01F4F
tetradic
#4FA01F #1F90A0 #701FA0 #A02F1F
square
#4FA01F #1F90A0 #701FA0 #A02F1F
split-complementary
#4FA01F #2F1FA0 #A01F90
monochromatic
#1C390B #366D15 #4FA01F #68D329 #8CDF5A

Accessibility & contrast

On white

3.29
#4FA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#4FA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA01F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA01F#FFFFFF#000000##000000
##4FA01F1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#4A9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4fa01f;
/* rgb */ color: rgb(79, 160, 31);
/* oklch */ color: oklch(63.0% 0.177 136.9);
Tailwind
colors: {
  custom: {
    50: '#89bd66',
    500: '#4fa01f',
    950: '#000000',
  },
}
SCSS
$custom: #4fa01f;
$custom-light: #89bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa01f",
  "rgb": {
    "r": 79,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 97.674,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.17683,
    "h": 136.9
  },
  "luminance": 0.26903
}

Semantic roles & 50–950 ramp

primary
#4FA01F
secondary
#9B58C3
accent
#3DEAAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4FA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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