#7FAC48#7FAC48

#7FAC48 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.0% C 0.139 H 129.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7FAC48
RGBrgb(127, 172, 72)
HSLhsl(87, 41%, 48%)
HSVhsv(87, 58%, 67%)
CMYKcmyk(26.2%, 0%, 58.1%, 32.5%)
CIE-LABlab(65.35, -31.66, 45.75)
CIE-LCHlch(65.35, 55.64, 124.69°)
OKLaboklab(69.04% -0.0888 0.107)
OKLCHoklch(69.04% 0.139 129.7)
XYZxyz(24.6744, 34.4844, 11.4858)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC48 #7548AC
analogous
#ACA748 #7FAC48 #4DAC48
triadic
#7FAC48 #487FAC #AC487F
tetradic
#7FAC48 #48ACA7 #7548AC #AC484D
square
#7FAC48 #48ACA7 #7548AC #AC484D
split-complementary
#7FAC48 #484DAC #A748AC
monochromatic
#3F5624 #5F8136 #7FAC48 #9DC36F #BAD59A

Accessibility & contrast

On white

2.66
#7FAC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#7FAC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC48
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC48#FFFFFF#000000##000000
##7FAC481.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13E
Deuteranopia (green-blind)
#AD9E4F
Tritanopia (blue-blind)
#82A596
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fac48;
/* rgb */ color: rgb(127, 172, 72);
/* oklch */ color: oklch(69.0% 0.139 129.7);
Tailwind
colors: {
  custom: {
    50: '#a7c57e',
    500: '#7fac48',
    950: '#000000',
  },
}
SCSS
$custom: #7fac48;
$custom-light: #a7c57e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac48",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 87,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.13905,
    "h": 129.7
  },
  "luminance": 0.34485
}

Semantic roles & 50–950 ramp

primary
#7FAC48
secondary
#A58FC1
accent
#57D18E
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FAC48

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

Preview Lab → · Contrast checker → · Palette generator →

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