#7FB042#7FB042

#7FB042 is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 69.9% C 0.150 H 129.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7FB042
RGBrgb(127, 176, 66)
HSLhsl(87, 45%, 47%)
HSVhsv(87, 63%, 69%)
CMYKcmyk(27.8%, 0%, 62.5%, 31%)
CIE-LABlab(66.49, -34.07, 49.74)
CIE-LCHlch(66.49, 60.29, 124.41°)
OKLaboklab(69.95% -0.096 0.1149)
OKLCHoklch(69.95% 0.15 129.9)
XYZxyz(25.2609, 35.9554, 10.7624)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB042 #7342B0
analogous
#B0AA42 #7FB042 #48B042
triadic
#7FB042 #427FB0 #B0427F
tetradic
#7FB042 #42B0AA #7342B0 #B04248
square
#7FB042 #42B0AA #7342B0 #B04248
split-complementary
#7FB042 #4248B0 #AA42B0
monochromatic
#3F5721 #5F8331 #7FB042 #9DC769 #BAD795

Accessibility & contrast

On white

2.56
#7FB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#7FB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB042
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB042#FFFFFF#000000##000000
##7FB0421.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#B1A14A
Tritanopia (blue-blind)
#82A999
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb042;
/* rgb */ color: rgb(127, 176, 66);
/* oklch */ color: oklch(69.9% 0.150 129.9);
Tailwind
colors: {
  custom: {
    50: '#a7c87b',
    500: '#7fb042',
    950: '#000000',
  },
}
SCSS
$custom: #7fb042;
$custom-light: #a7c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb042",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 86.727,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.14968,
    "h": 129.9
  },
  "luminance": 0.35956
}

Semantic roles & 50–950 ramp

primary
#7FB042
secondary
#A48BC3
accent
#53D58D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB042

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

Preview Lab → · Contrast checker → · Palette generator →

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