#7FBB42#7FBB42

#7FBB42 is a light, vivid yellow-green. Relative luminance 0.404; OKLCH L 72.6% C 0.164 H 131.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7FBB42
RGBrgb(127, 187, 66)
HSLhsl(90, 48%, 50%)
HSVhsv(90, 65%, 73%)
CMYKcmyk(32.1%, 0%, 64.7%, 26.7%)
CIE-LABlab(69.79, -39.04, 53.34)
CIE-LCHlch(69.79, 66.10, 126.20°)
OKLaboklab(72.63% -0.1096 0.1225)
OKLCHoklch(72.63% 0.164 131.8)
XYZxyz(27.5058, 40.4451, 11.5107)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBB42 #7E42BB
analogous
#BBBB42 #7FBB42 #43BB42
triadic
#7FBB42 #427FBB #BB427F
tetradic
#7FBB42 #42BBBB #7E42BB #BB4243
square
#7FBB42 #42BBBB #7E42BB #BB4243
split-complementary
#7FBB42 #4243BB #BB42BB
monochromatic
#426122 #608E32 #7FBB42 #9DCC6E #BCDC9C

Accessibility & contrast

On white

2.31
#7FBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#7FBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBB42
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBB42#FFFFFF#000000##000000
##7FBB421.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD33
Deuteranopia (green-blind)
#BAA94C
Tritanopia (blue-blind)
#81B4A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7fbb42;
/* rgb */ color: rgb(127, 187, 66);
/* oklch */ color: oklch(72.6% 0.164 131.8);
Tailwind
colors: {
  custom: {
    50: '#a8d07c',
    500: '#7fbb42',
    950: '#000000',
  },
}
SCSS
$custom: #7fbb42;
$custom-light: #a8d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbb42",
  "rgb": {
    "r": 127,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 89.752,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.16435,
    "h": 131.8
  },
  "luminance": 0.40446
}

Semantic roles & 50–950 ramp

primary
#7FBB42
secondary
#AC91C8
accent
#50D793
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7FBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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