#7FAC2B#7FAC2B

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

Color values

HEX#7FAC2B
RGBrgb(127, 172, 43)
HSLhsl(81, 60%, 42%)
HSVhsv(81, 75%, 67%)
CMYKcmyk(26.2%, 0%, 75%, 32.5%)
CIE-LABlab(65.11, -33.86, 57.42)
CIE-LCHlch(65.11, 66.66, 120.53°)
OKLaboklab(68.78% -0.0973 0.1277)
OKLCHoklch(68.78% 0.161 127.3)
XYZxyz(23.9410, 34.1910, 7.6232)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC2B #582BAC
analogous
#AC982B #7FAC2B #3FAC2B
triadic
#7FAC2B #2B7FAC #AC2B7F
tetradic
#7FAC2B #2BAC98 #582BAC #AC2B3F
square
#7FAC2B #2BAC98 #582BAC #AC2B3F
split-complementary
#7FAC2B #2B3FAC #982BAC
monochromatic
#374A13 #5B7B1F #7FAC2B #9FD044 #B8DC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAC2B#FFFFFF#000000##000000
##7FAC2B1.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)
#B5A00F
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#84A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac2b;
/* rgb */ color: rgb(127, 172, 43);
/* oklch */ color: oklch(68.8% 0.161 127.3);
Tailwind
colors: {
  custom: {
    50: '#a8c56e',
    500: '#7fac2b',
    950: '#000000',
  },
}
SCSS
$custom: #7fac2b;
$custom-light: #a8c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac2b",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 80.93,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68779,
    "c": 0.16059,
    "h": 127.3
  },
  "luminance": 0.34191
}

Semantic roles & 50–950 ramp

primary
#7FAC2B
secondary
#8C6FC4
accent
#45E37C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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