#7FA64B#7FA64B

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

Color values

HEX#7FA64B
RGBrgb(127, 166, 75)
HSLhsl(86, 38%, 47%)
HSVhsv(86, 55%, 65%)
CMYKcmyk(23.5%, 0%, 54.8%, 34.9%)
CIE-LABlab(63.58, -28.51, 42.29)
CIE-LCHlch(63.58, 51.00, 123.99°)
OKLaboklab(67.63% -0.0798 0.0998)
OKLCHoklch(67.63% 0.128 128.7)
XYZxyz(23.6585, 32.2920, 11.6418)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA64B #724BA6
analogous
#A69F4B #7FA64B #52A64B
triadic
#7FA64B #4B7FA6 #A64B7F
tetradic
#7FA64B #4BA69F #724BA6 #A64B52
square
#7FA64B #4BA69F #724BA6 #A64B52
split-complementary
#7FA64B #4B52A6 #9F4BA6
monochromatic
#3E5225 #5F7C38 #7FA64B #9DBE70 #BAD19A

Accessibility & contrast

On white

2.82
#7FA64B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA64B#FFFFFF#000000##000000
##7FA64B1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa64b;
/* rgb */ color: rgb(127, 166, 75);
/* oklch */ color: oklch(67.6% 0.128 128.7);
Tailwind
colors: {
  custom: {
    50: '#a6c080',
    500: '#7fa64b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa64b;
$custom-light: #a6c080;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa64b",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 75
  },
  "hsl": {
    "h": 85.714,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.1278,
    "h": 128.7
  },
  "luminance": 0.32292
}

Semantic roles & 50–950 ramp

primary
#7FA64B
secondary
#A38FBE
accent
#5ACE8C
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA64B

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

Preview Lab → · Contrast checker → · Palette generator →

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