#7FB41B#7FB41B

#7FB41B is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.7% C 0.178 H 128.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7FB41B
RGBrgb(127, 180, 27)
HSLhsl(81, 74%, 41%)
HSVhsv(81, 85%, 71%)
CMYKcmyk(29.4%, 0%, 85%, 29.4%)
CIE-LABlab(67.45, -38.19, 64.18)
CIE-LCHlch(67.45, 74.68, 120.76°)
OKLaboklab(70.66% -0.1101 0.1395)
OKLCHoklch(70.66% 0.178 128.3)
XYZxyz(25.2715, 37.2330, 6.8919)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB41B #501BB4
analogous
#B49C1B #7FB41B #33B41B
triadic
#7FB41B #1B7FB4 #B41B7F
tetradic
#7FB41B #1BB49C #501BB4 #B41B33
square
#7FB41B #1BB49C #501BB4 #B41B33
split-complementary
#7FB41B #1B33B4 #9C1BB4
monochromatic
#344A0B #597F13 #7FB41B #A2DF2D #B9E762

Accessibility & contrast

On white

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

On black

8.45
#7FB41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB41B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB41B#FFFFFF#000000##000000
##7FB41B1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fb41b;
/* rgb */ color: rgb(127, 180, 27);
/* oklch */ color: oklch(70.7% 0.178 128.3);
Tailwind
colors: {
  custom: {
    50: '#a9ca69',
    500: '#7fb41b',
    950: '#000000',
  },
}
SCSS
$custom: #7fb41b;
$custom-light: #a9ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb41b",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 80.784,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70656,
    "c": 0.17772,
    "h": 128.3
  },
  "luminance": 0.37234
}

Semantic roles & 50–950 ramp

primary
#7FB41B
secondary
#855FCC
accent
#37F177
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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