#7FAC3C#7FAC3C

#7FAC3C is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.9% C 0.149 H 128.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7FAC3C
RGBrgb(127, 172, 60)
HSLhsl(84, 48%, 45%)
HSVhsv(84, 65%, 67%)
CMYKcmyk(26.2%, 0%, 65.1%, 32.5%)
CIE-LABlab(65.23, -32.72, 50.98)
CIE-LCHlch(65.23, 60.57, 122.69°)
OKLaboklab(68.92% -0.0928 0.1167)
OKLCHoklch(68.92% 0.149 128.5)
XYZxyz(24.3205, 34.3428, 9.6216)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC3C #693CAC
analogous
#ACA13C #7FAC3C #47AC3C
triadic
#7FAC3C #3C7FAC #AC3C7F
tetradic
#7FAC3C #3CACA1 #693CAC #AC3C47
square
#7FAC3C #3CACA1 #693CAC #AC3C47
split-complementary
#7FAC3C #3C47AC #A13CAC
monochromatic
#3C511C #5D7F2C #7FAC3C #9DC75E #B9D78C

Accessibility & contrast

On white

2.67
#7FAC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#7FAC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC3C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC3C#FFFFFF#000000##000000
##7FAC3C1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02E
Deuteranopia (green-blind)
#AE9D45
Tritanopia (blue-blind)
#83A595
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac3c;
/* rgb */ color: rgb(127, 172, 60);
/* oklch */ color: oklch(68.9% 0.149 128.5);
Tailwind
colors: {
  custom: {
    50: '#a7c577',
    500: '#7fac3c',
    950: '#000000',
  },
}
SCSS
$custom: #7fac3c;
$custom-light: #a7c577;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac3c",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 84.107,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.14908,
    "h": 128.5
  },
  "luminance": 0.34343
}

Semantic roles & 50–950 ramp

primary
#7FAC3C
secondary
#9C82C1
accent
#50D887
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FAC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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