#7FA54C#7FA54C

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

Color values

HEX#7FA54C
RGBrgb(127, 165, 76)
HSLhsl(86, 37%, 47%)
HSVhsv(86, 54%, 65%)
CMYKcmyk(23%, 0%, 53.9%, 35.3%)
CIE-LABlab(63.30, -27.92, 41.46)
CIE-LCHlch(63.30, 49.99, 123.96°)
OKLaboklab(67.4% -0.0781 0.0981)
OKLCHoklch(67.4% 0.125 128.5)
XYZxyz(23.5119, 31.9437, 11.7631)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA54C #724CA5
analogous
#A59E4C #7FA54C #53A54C
triadic
#7FA54C #4C7FA5 #A54C7F
tetradic
#7FA54C #4CA59E #724CA5 #A54C53
square
#7FA54C #4CA59E #724CA5 #A54C53
split-complementary
#7FA54C #4C53A5 #9E4CA5
monochromatic
#3E5125 #5F7B39 #7FA54C #9DBD71 #BAD19B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA54C#FFFFFF#000000##000000
##7FA54C1.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)
#AC9B44
Deuteranopia (green-blind)
#A79852
Tritanopia (blue-blind)
#829E91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa54c;
/* rgb */ color: rgb(127, 165, 76);
/* oklch */ color: oklch(67.4% 0.125 128.5);
Tailwind
colors: {
  custom: {
    50: '#a6c080',
    500: '#7fa54c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa54c;
$custom-light: #a6c080;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa54c",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 76
  },
  "hsl": {
    "h": 85.618,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67398,
    "c": 0.12541,
    "h": 128.5
  },
  "luminance": 0.31944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA54C

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

Preview Lab → · Contrast checker → · Palette generator →

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