#4FAC31#4FAC31

#4FAC31 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.3% C 0.181 H 139.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4FAC31
RGBrgb(79, 172, 49)
HSLhsl(105, 56%, 43%)
HSVhsv(105, 72%, 67%)
CMYKcmyk(54.1%, 0%, 71.5%, 32.5%)
CIE-LABlab(62.83, -49.87, 52.20)
CIE-LCHlch(62.83, 72.19, 133.70°)
OKLaboklab(66.3% -0.1372 0.1185)
OKLCHoklch(66.3% 0.181 139.2)
XYZxyz(18.5306, 31.3876, 7.9871)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAC31 #8E31AC
analogous
#8CAC31 #4FAC31 #31AC50
triadic
#4FAC31 #314FAC #AC314F
tetradic
#4FAC31 #318CAC #8E31AC #AC5031
square
#4FAC31 #318CAC #8E31AC #AC5031
split-complementary
#4FAC31 #5031AC #AC318C
monochromatic
#234D16 #397C23 #4FAC31 #6DCC4E #94DA7D

Accessibility & contrast

On white

2.89
#4FAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#4FAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAC31
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAC31#FFFFFF#000000##000000
##4FAC311.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#A5953D
Tritanopia (blue-blind)
#46A694
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #4fac31;
/* rgb */ color: rgb(79, 172, 49);
/* oklch */ color: oklch(66.3% 0.181 139.2);
Tailwind
colors: {
  custom: {
    50: '#8ac570',
    500: '#4fac31',
    950: '#000000',
  },
}
SCSS
$custom: #4fac31;
$custom-light: #8ac570;
$custom-dark: #000000;
JSON
{
  "hex": "#4fac31",
  "rgb": {
    "r": 79,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 105.366,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66302,
    "c": 0.18131,
    "h": 139.2
  },
  "luminance": 0.31389
}

Semantic roles & 50–950 ramp

primary
#4FAC31
secondary
#B076C3
accent
#49DFBA
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0D1308
muted
#7D827B

Preview Lab

Preview with #4FAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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