#7FA64C#7FA64C

#7FA64C is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.6% C 0.127 H 128.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7FA64C
RGBrgb(127, 166, 76)
HSLhsl(86, 37%, 47%)
HSVhsv(86, 54%, 65%)
CMYKcmyk(23.5%, 0%, 54.2%, 34.9%)
CIE-LABlab(63.59, -28.40, 41.82)
CIE-LCHlch(63.59, 50.55, 124.19°)
OKLaboklab(67.64% -0.0795 0.0989)
OKLCHoklch(67.64% 0.127 128.8)
XYZxyz(23.6930, 32.3058, 11.8234)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA64C #734CA6
analogous
#A6A04C #7FA64C #52A64C
triadic
#7FA64C #4C7FA6 #A64C7F
tetradic
#7FA64C #4CA6A0 #734CA6 #A64C52
square
#7FA64C #4CA6A0 #734CA6 #A64C52
split-complementary
#7FA64C #4C52A6 #A04CA6
monochromatic
#3F5226 #5F7C39 #7FA64C #9DBE71 #BAD19B

Accessibility & contrast

On white

2.81
#7FA64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7FA64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA64C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA64C#FFFFFF#000000##000000
##7FA64C1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C43
Deuteranopia (green-blind)
#A89952
Tritanopia (blue-blind)
#829F92
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa64c;
/* rgb */ color: rgb(127, 166, 76);
/* oklch */ color: oklch(67.6% 0.127 128.8);
Tailwind
colors: {
  custom: {
    50: '#a6c081',
    500: '#7fa64c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa64c;
$custom-light: #a6c081;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa64c",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 76
  },
  "hsl": {
    "h": 86,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67639,
    "c": 0.12684,
    "h": 128.8
  },
  "luminance": 0.32306
}

Semantic roles & 50–950 ramp

primary
#7FA64C
secondary
#A490BE
accent
#5BCD8C
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA64C

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

Preview Lab → · Contrast checker → · Palette generator →

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