#7FB41F#7FB41F

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

Color values

HEX#7FB41F
RGBrgb(127, 180, 31)
HSLhsl(81, 71%, 41%)
HSVhsv(81, 83%, 71%)
CMYKcmyk(29.4%, 0%, 82.8%, 29.4%)
CIE-LABlab(67.47, -38.04, 63.21)
CIE-LCHlch(67.47, 73.78, 121.04°)
OKLaboklab(70.67% -0.1095 0.138)
OKLCHoklch(70.67% 0.176 128.4)
XYZxyz(25.3210, 37.2528, 7.1525)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB41F #541FB4
analogous
#B49F1F #7FB41F #35B41F
triadic
#7FB41F #1F7FB4 #B41F7F
tetradic
#7FB41F #1FB49F #541FB4 #B41F35
square
#7FB41F #1FB49F #541FB4 #B41F35
split-complementary
#7FB41F #1F35B4 #9F1FB4
monochromatic
#354C0D #5A8016 #7FB41F #A0DC34 #B9E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB41F#FFFFFF#000000##000000
##7FB41F1.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)
#B6A331
Tritanopia (blue-blind)
#84AC99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb41f;
/* rgb */ color: rgb(127, 180, 31);
/* oklch */ color: oklch(70.7% 0.176 128.4);
Tailwind
colors: {
  custom: {
    50: '#a9ca6a',
    500: '#7fb41f',
    950: '#000000',
  },
}
SCSS
$custom: #7fb41f;
$custom-light: #a9ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb41f",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 81.342,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.1762,
    "h": 128.4
  },
  "luminance": 0.37253
}

Semantic roles & 50–950 ramp

primary
#7FB41F
secondary
#8964CB
accent
#3AED7A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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