#4FB31A#4FB31A

#4FB31A is a light, highly saturated yellow-green. Relative luminance 0.340; OKLCH L 68.0% C 0.201 H 138.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4FB31A
RGBrgb(79, 179, 26)
HSLhsl(99, 75%, 40%)
HSVhsv(99, 85%, 70%)
CMYKcmyk(55.9%, 0%, 85.5%, 29.8%)
CIE-LABlab(64.94, -53.84, 61.37)
CIE-LCHlch(64.94, 81.64, 131.26°)
OKLaboklab(68% -0.1492 0.1344)
OKLCHoklch(68% 0.201 138)
XYZxyz(19.5303, 33.9754, 6.5058)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB31A #7E1AB3
analogous
#9BB31A #4FB31A #1AB332
triadic
#4FB31A #1A4FB3 #B31A4F
tetradic
#4FB31A #1A9BB3 #7E1AB3 #B3321A
square
#4FB31A #1A9BB3 #7E1AB3 #B3321A
split-complementary
#4FB31A #321AB3 #B31A9B
monochromatic
#20480A #377E12 #4FB31A #69E02A #8FE860

Accessibility & contrast

On white

2.69
#4FB31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#4FB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB31A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB31A#FFFFFF#000000##000000
##4FB31A1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AC9B2F
Tritanopia (blue-blind)
#46AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #4fb31a;
/* rgb */ color: rgb(79, 179, 26);
/* oklch */ color: oklch(68.0% 0.201 138.0);
Tailwind
colors: {
  custom: {
    50: '#8ccb67',
    500: '#4fb31a',
    950: '#000000',
  },
}
SCSS
$custom: #4fb31a;
$custom-light: #8ccb67;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb31a",
  "rgb": {
    "r": 79,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 99.216,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68004,
    "c": 0.20083,
    "h": 138
  },
  "luminance": 0.33977
}

Semantic roles & 50–950 ramp

primary
#4FB31A
secondary
#A65DCC
accent
#37F1B1
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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