#7FBC42#7FBC42

#7FBC42 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 72.9% C 0.166 H 132.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7FBC42
RGBrgb(127, 188, 66)
HSLhsl(90, 48%, 50%)
HSVhsv(90, 65%, 74%)
CMYKcmyk(32.4%, 0%, 64.9%, 26.3%)
CIE-LABlab(70.09, -39.48, 53.66)
CIE-LCHlch(70.09, 66.62, 126.34°)
OKLaboklab(72.87% -0.1108 0.1231)
OKLCHoklch(72.87% 0.166 132)
XYZxyz(27.7186, 40.8708, 11.5816)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBC42 #7F42BC
analogous
#BCBC42 #7FBC42 #42BC42
triadic
#7FBC42 #427FBC #BC427F
tetradic
#7FBC42 #42BCBC #7F42BC #BC4242
square
#7FBC42 #42BCBC #7F42BC #BC4242
split-complementary
#7FBC42 #4242BC #BC42BC
monochromatic
#426122 #608F32 #7FBC42 #9ECC6F #BCDC9C

Accessibility & contrast

On white

2.29
#7FBC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#7FBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBC42
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBC42#FFFFFF#000000##000000
##7FBC421.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#BBAA4C
Tritanopia (blue-blind)
#81B5A3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7fbc42;
/* rgb */ color: rgb(127, 188, 66);
/* oklch */ color: oklch(72.9% 0.166 132.0);
Tailwind
colors: {
  custom: {
    50: '#a8d07c',
    500: '#7fbc42',
    950: '#000000',
  },
}
SCSS
$custom: #7fbc42;
$custom-light: #a8d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbc42",
  "rgb": {
    "r": 127,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 90,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72873,
    "c": 0.16566,
    "h": 132
  },
  "luminance": 0.40872
}

Semantic roles & 50–950 ramp

primary
#7FBC42
secondary
#AD91C9
accent
#50D894
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7FBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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