#4FB315#4FB315

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

Color values

HEX#4FB315
RGBrgb(79, 179, 21)
HSLhsl(98, 79%, 39%)
HSVhsv(98, 88%, 70%)
CMYKcmyk(55.9%, 0%, 88.3%, 29.8%)
CIE-LABlab(64.93, -54.03, 62.43)
CIE-LCHlch(64.93, 82.57, 130.87°)
OKLaboklab(67.99% -0.1499 0.1361)
OKLCHoklch(67.99% 0.202 137.8)
XYZxyz(19.4792, 33.9550, 6.2368)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB315 #7915B3
analogous
#9EB315 #4FB315 #15B32A
triadic
#4FB315 #154FB3 #B3154F
tetradic
#4FB315 #159EB3 #7915B3 #B32A15
square
#4FB315 #159EB3 #7915B3 #B32A15
split-complementary
#4FB315 #2A15B3 #B3159E
monochromatic
#1F4508 #377C0F #4FB315 #68E520 #8EEB57

Accessibility & contrast

On white

2.70
#4FB315 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#4FB315 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB315
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB315#FFFFFF#000000##000000
##4FB3151.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4fb315;
/* rgb */ color: rgb(79, 179, 21);
/* oklch */ color: oklch(68.0% 0.202 137.8);
Tailwind
colors: {
  custom: {
    50: '#8ccb66',
    500: '#4fb315',
    950: '#000000',
  },
}
SCSS
$custom: #4fb315;
$custom-light: #8ccb66;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb315",
  "rgb": {
    "r": 79,
    "g": 179,
    "b": 21
  },
  "hsl": {
    "h": 97.975,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67985,
    "c": 0.20243,
    "h": 137.8
  },
  "luminance": 0.33957
}

Semantic roles & 50–950 ramp

primary
#4FB315
secondary
#A256CE
accent
#32F5AE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FB315

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

Preview Lab → · Contrast checker → · Palette generator →

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