#7FB418#7FB418

#7FB418 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.6% C 0.179 H 128.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7FB418
RGBrgb(127, 180, 24)
HSLhsl(80, 76%, 40%)
HSVhsv(80, 87%, 71%)
CMYKcmyk(29.4%, 0%, 86.7%, 29.4%)
CIE-LABlab(67.44, -38.29, 64.83)
CIE-LCHlch(67.44, 75.29, 120.56°)
OKLaboklab(70.65% -0.1105 0.1405)
OKLCHoklch(70.65% 0.179 128.2)
XYZxyz(25.2386, 37.2198, 6.7184)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB418 #4D18B4
analogous
#B49B18 #7FB418 #31B418
triadic
#7FB418 #187FB4 #B4187F
tetradic
#7FB418 #18B49B #4D18B4 #B41831
square
#7FB418 #18B49B #4D18B4 #B41831
split-complementary
#7FB418 #1831B4 #9B18B4
monochromatic
#33480A #597E11 #7FB418 #A3E227 #BAE95D

Accessibility & contrast

On white

2.49
#7FB418 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#7FB418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB418
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB418#FFFFFF#000000##000000
##7FB4181.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#84AB99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb418;
/* rgb */ color: rgb(127, 180, 24);
/* oklch */ color: oklch(70.6% 0.179 128.2);
Tailwind
colors: {
  custom: {
    50: '#a9ca68',
    500: '#7fb418',
    950: '#000000',
  },
}
SCSS
$custom: #7fb418;
$custom-light: #a9ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb418",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 80.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.70645,
    "c": 0.17875,
    "h": 128.2
  },
  "luminance": 0.3722
}

Semantic roles & 50–950 ramp

primary
#7FB418
secondary
#825BCD
accent
#35F375
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FB418

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

Preview Lab → · Contrast checker → · Palette generator →

#7FB418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva