#7FB642#7FB642

#7FB642 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.4% C 0.158 H 131.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7FB642
RGBrgb(127, 182, 66)
HSLhsl(88, 47%, 49%)
HSVhsv(88, 64%, 71%)
CMYKcmyk(30.2%, 0%, 63.7%, 28.6%)
CIE-LABlab(68.29, -36.81, 51.71)
CIE-LCHlch(68.29, 63.47, 125.44°)
OKLaboklab(71.41% -0.1035 0.119)
OKLCHoklch(71.41% 0.158 131)
XYZxyz(26.4635, 38.3604, 11.1632)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB642 #7942B6
analogous
#B6B342 #7FB642 #45B642
triadic
#7FB642 #427FB6 #B6427F
tetradic
#7FB642 #42B6B3 #7942B6 #B64245
square
#7FB642 #42B6B3 #7942B6 #B64245
split-complementary
#7FB642 #4245B6 #B342B6
monochromatic
#405C21 #608932 #7FB642 #9DCA6C #BBDA99

Accessibility & contrast

On white

2.42
#7FB642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#7FB642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB642
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB642#FFFFFF#000000##000000
##7FB6421.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#B6A54B
Tritanopia (blue-blind)
#81AF9E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb642;
/* rgb */ color: rgb(127, 182, 66);
/* oklch */ color: oklch(71.4% 0.158 131.0);
Tailwind
colors: {
  custom: {
    50: '#a8cc7b',
    500: '#7fb642',
    950: '#000000',
  },
}
SCSS
$custom: #7fb642;
$custom-light: #a8cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb642",
  "rgb": {
    "r": 127,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 88.448,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71409,
    "c": 0.15772,
    "h": 131
  },
  "luminance": 0.38361
}

Semantic roles & 50–950 ramp

primary
#7FB642
secondary
#A88EC6
accent
#51D690
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB642

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

Preview Lab → · Contrast checker → · Palette generator →

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