#7FAC2C#7FAC2C

#7FAC2C is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.8% C 0.160 H 127.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7FAC2C
RGBrgb(127, 172, 44)
HSLhsl(81, 59%, 42%)
HSVhsv(81, 74%, 67%)
CMYKcmyk(26.2%, 0%, 74.4%, 32.5%)
CIE-LABlab(65.12, -33.80, 57.08)
CIE-LCHlch(65.12, 66.34, 120.63°)
OKLaboklab(68.79% -0.0971 0.1272)
OKLCHoklch(68.79% 0.16 127.4)
XYZxyz(23.9596, 34.1984, 7.7210)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC2C #592CAC
analogous
#AC992C #7FAC2C #3FAC2C
triadic
#7FAC2C #2C7FAC #AC2C7F
tetradic
#7FAC2C #2CAC99 #592CAC #AC2C3F
square
#7FAC2C #2CAC99 #592CAC #AC2C3F
split-complementary
#7FAC2C #2C3FAC #992CAC
monochromatic
#374B13 #5B7B20 #7FAC2C #9FD046 #B8DC76

Accessibility & contrast

On white

2.68
#7FAC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#7FAC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC2C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC2C#FFFFFF#000000##000000
##7FAC2C1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A011
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#84A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac2c;
/* rgb */ color: rgb(127, 172, 44);
/* oklch */ color: oklch(68.8% 0.160 127.4);
Tailwind
colors: {
  custom: {
    50: '#a8c56e',
    500: '#7fac2c',
    950: '#000000',
  },
}
SCSS
$custom: #7fac2c;
$custom-light: #a8c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac2c",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 81.094,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68786,
    "c": 0.16,
    "h": 127.4
  },
  "luminance": 0.34199
}

Semantic roles & 50–950 ramp

primary
#7FAC2C
secondary
#8D70C4
accent
#45E27D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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