#4FB31C#4FB31C

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

Color values

HEX#4FB31C
RGBrgb(79, 179, 28)
HSLhsl(100, 73%, 41%)
HSVhsv(100, 84%, 70%)
CMYKcmyk(55.9%, 0%, 84.4%, 29.8%)
CIE-LABlab(64.95, -53.76, 60.90)
CIE-LCHlch(64.95, 81.23, 131.44°)
OKLaboklab(68.01% -0.1489 0.1337)
OKLCHoklch(68.01% 0.2 138.1)
XYZxyz(19.5534, 33.9847, 6.6277)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB31C #801CB3
analogous
#9AB31C #4FB31C #1CB334
triadic
#4FB31C #1C4FB3 #B31C4F
tetradic
#4FB31C #1C9AB3 #801CB3 #B3341C
square
#4FB31C #1C9AB3 #801CB3 #B3341C
split-complementary
#4FB31C #341CB3 #B31C9A
monochromatic
#20490B #387E14 #4FB31C #69DE2E #8FE763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4FB31C#FFFFFF#000000##000000
##4FB31C1.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)
#AC9B30
Tritanopia (blue-blind)
#46AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #4fb31c;
/* rgb */ color: rgb(79, 179, 28);
/* oklch */ color: oklch(68.0% 0.200 138.1);
Tailwind
colors: {
  custom: {
    50: '#8ccb68',
    500: '#4fb31c',
    950: '#000000',
  },
}
SCSS
$custom: #4fb31c;
$custom-light: #8ccb68;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb31c",
  "rgb": {
    "r": 79,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 99.735,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68012,
    "c": 0.2001,
    "h": 138.1
  },
  "luminance": 0.33986
}

Semantic roles & 50–950 ramp

primary
#4FB31C
secondary
#A75FCB
accent
#38F0B2
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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