#7FB04C#7FB04C

#7FB04C is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.1% C 0.141 H 131.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7FB04C
RGBrgb(127, 176, 76)
HSLhsl(89, 40%, 49%)
HSVhsv(89, 57%, 69%)
CMYKcmyk(27.8%, 0%, 56.8%, 31%)
CIE-LABlab(66.58, -33.14, 45.30)
CIE-LCHlch(66.58, 56.13, 126.18°)
OKLaboklab(70.06% -0.0926 0.1064)
OKLCHoklch(70.06% 0.141 131)
XYZxyz(25.5819, 36.0838, 12.4531)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB04C #7D4CB0
analogous
#B0AF4C #7FB04C #4DB04C
triadic
#7FB04C #4C7FB0 #B04C7F
tetradic
#7FB04C #4CB0AF #7D4CB0 #B04C4D
square
#7FB04C #4CB0AF #7D4CB0 #B04C4D
split-complementary
#7FB04C #4C4DB0 #AF4CB0
monochromatic
#415B27 #60853A #7FB04C #9DC476 #BCD6A0

Accessibility & contrast

On white

2.56
#7FB04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7FB04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB04C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB04C#FFFFFF#000000##000000
##7FB04C1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A442
Deuteranopia (green-blind)
#B0A153
Tritanopia (blue-blind)
#81A99A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb04c;
/* rgb */ color: rgb(127, 176, 76);
/* oklch */ color: oklch(70.1% 0.141 131.0);
Tailwind
colors: {
  custom: {
    50: '#a7c881',
    500: '#7fb04c',
    950: '#000000',
  },
}
SCSS
$custom: #7fb04c;
$custom-light: #a7c881;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb04c",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 89.4,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70059,
    "c": 0.14105,
    "h": 131
  },
  "luminance": 0.36084
}

Semantic roles & 50–950 ramp

primary
#7FB04C
secondary
#AB95C3
accent
#58D093
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB04C

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

Preview Lab → · Contrast checker → · Palette generator →

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