#7FAC3B#7FAC3B

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

Color values

HEX#7FAC3B
RGBrgb(127, 172, 59)
HSLhsl(84, 49%, 45%)
HSVhsv(84, 66%, 67%)
CMYKcmyk(26.2%, 0%, 65.7%, 32.5%)
CIE-LABlab(65.23, -32.79, 51.39)
CIE-LCHlch(65.23, 60.96, 122.54°)
OKLaboklab(68.91% -0.0931 0.1174)
OKLCHoklch(68.91% 0.15 128.4)
XYZxyz(24.2943, 34.3323, 9.4837)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC3B #683BAC
analogous
#ACA13B #7FAC3B #46AC3B
triadic
#7FAC3B #3B7FAC #AC3B7F
tetradic
#7FAC3B #3BACA1 #683BAC #AC3B46
square
#7FAC3B #3BACA1 #683BAC #AC3B46
split-complementary
#7FAC3B #3B46AC #A13BAC
monochromatic
#3C511C #5D7E2B #7FAC3B #9DC75D #B8D78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAC3B#FFFFFF#000000##000000
##7FAC3B1.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)
#B4A02C
Deuteranopia (green-blind)
#AE9D44
Tritanopia (blue-blind)
#83A595
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac3b;
/* rgb */ color: rgb(127, 172, 59);
/* oklch */ color: oklch(68.9% 0.150 128.4);
Tailwind
colors: {
  custom: {
    50: '#a7c576',
    500: '#7fac3b',
    950: '#000000',
  },
}
SCSS
$custom: #7fac3b;
$custom-light: #a7c576;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac3b",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 83.894,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68906,
    "c": 0.14985,
    "h": 128.4
  },
  "luminance": 0.34333
}

Semantic roles & 50–950 ramp

primary
#7FAC3B
secondary
#9B81C1
accent
#4FD886
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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