#7FAC2D#7FAC2D

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

Color values

HEX#7FAC2D
RGBrgb(127, 172, 45)
HSLhsl(81, 59%, 43%)
HSVhsv(81, 74%, 67%)
CMYKcmyk(26.2%, 0%, 73.8%, 32.5%)
CIE-LABlab(65.13, -33.74, 56.73)
CIE-LCHlch(65.13, 66.01, 120.74°)
OKLaboklab(68.79% -0.0969 0.1266)
OKLCHoklch(68.79% 0.159 127.4)
XYZxyz(23.9786, 34.2060, 7.8212)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC2D #5A2DAC
analogous
#AC992D #7FAC2D #3FAC2D
triadic
#7FAC2D #2D7FAC #AC2D7F
tetradic
#7FAC2D #2DAC99 #5A2DAC #AC2D3F
square
#7FAC2D #2DAC99 #5A2DAC #AC2D3F
split-complementary
#7FAC2D #2D3FAC #992DAC
monochromatic
#374B14 #5B7B20 #7FAC2D #9FCF47 #B8DC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAC2D#FFFFFF#000000##000000
##7FAC2D1.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)
#B5A014
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#84A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac2d;
/* rgb */ color: rgb(127, 172, 45);
/* oklch */ color: oklch(68.8% 0.159 127.4);
Tailwind
colors: {
  custom: {
    50: '#a8c56f',
    500: '#7fac2d',
    950: '#000000',
  },
}
SCSS
$custom: #7fac2d;
$custom-light: #a8c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac2d",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 81.26,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68793,
    "c": 0.15941,
    "h": 127.4
  },
  "luminance": 0.34207
}

Semantic roles & 50–950 ramp

primary
#7FAC2D
secondary
#8E71C4
accent
#46E27D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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