#7FB92A#7FB92A

#7FB92A is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.0% C 0.177 H 129.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7FB92A
RGBrgb(127, 185, 42)
HSLhsl(84, 63%, 45%)
HSVhsv(84, 77%, 73%)
CMYKcmyk(31.4%, 0%, 77.3%, 27.5%)
CIE-LABlab(69.02, -39.76, 61.47)
CIE-LCHlch(69.02, 73.21, 122.89°)
OKLaboklab(71.96% -0.1134 0.1361)
OKLCHoklch(71.96% 0.177 129.8)
XYZxyz(26.5192, 39.3763, 8.3932)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB92A #642AB9
analogous
#B9AC2A #7FB92A #37B92A
triadic
#7FB92A #2A7FB9 #B92A7F
tetradic
#7FB92A #2AB9AC #642AB9 #B92A37
square
#7FB92A #2AB9AC #642AB9 #B92A37
split-complementary
#7FB92A #2A37B9 #AC2AB9
monochromatic
#3B5513 #5D871F #7FB92A #9DD64A #B8E17C

Accessibility & contrast

On white

2.37
#7FB92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#7FB92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB92A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB92A#FFFFFF#000000##000000
##7FB92A1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB01
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#82B19E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fb92a;
/* rgb */ color: rgb(127, 185, 42);
/* oklch */ color: oklch(72.0% 0.177 129.8);
Tailwind
colors: {
  custom: {
    50: '#a9ce6f',
    500: '#7fb92a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb92a;
$custom-light: #a9ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb92a",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 42
  },
  "hsl": {
    "h": 84.336,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.17716,
    "h": 129.8
  },
  "luminance": 0.39377
}

Semantic roles & 50–950 ramp

primary
#7FB92A
secondary
#9775CA
accent
#42E684
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB92A

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

Preview Lab → · Contrast checker → · Palette generator →

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