#7FA54D#7FA54D

#7FA54D is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.4% C 0.124 H 128.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7FA54D
RGBrgb(127, 165, 77)
HSLhsl(86, 36%, 47%)
HSVhsv(86, 53%, 65%)
CMYKcmyk(23%, 0%, 53.3%, 35.3%)
CIE-LABlab(63.31, -27.82, 40.99)
CIE-LCHlch(63.31, 49.54, 124.16°)
OKLaboklab(67.41% -0.0777 0.0972)
OKLCHoklch(67.41% 0.124 128.7)
XYZxyz(23.5469, 31.9577, 11.9476)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA54D #734DA5
analogous
#A59F4D #7FA54D #53A54D
triadic
#7FA54D #4D7FA5 #A54D7F
tetradic
#7FA54D #4DA59F #734DA5 #A54D53
square
#7FA54D #4DA59F #734DA5 #A54D53
split-complementary
#7FA54D #4D53A5 #9F4DA5
monochromatic
#3F5226 #5F7B3A #7FA54D #9DBD72 #BAD19C

Accessibility & contrast

On white

2.84
#7FA54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7FA54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA54D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA54D#FFFFFF#000000##000000
##7FA54D1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B45
Deuteranopia (green-blind)
#A79853
Tritanopia (blue-blind)
#829F91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa54d;
/* rgb */ color: rgb(127, 165, 77);
/* oklch */ color: oklch(67.4% 0.124 128.7);
Tailwind
colors: {
  custom: {
    50: '#a6c081',
    500: '#7fa54d',
    950: '#000000',
  },
}
SCSS
$custom: #7fa54d;
$custom-light: #a6c081;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa54d",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 77
  },
  "hsl": {
    "h": 85.909,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.12443,
    "h": 128.7
  },
  "luminance": 0.31958
}

Semantic roles & 50–950 ramp

primary
#7FA54D
secondary
#A490BD
accent
#5BCC8C
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA54D

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

Preview Lab → · Contrast checker → · Palette generator →

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