#7FA754#7FA754

#7FA754 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 68.0% C 0.120 H 130.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7FA754
RGBrgb(127, 167, 84)
HSLhsl(89, 33%, 49%)
HSVhsv(89, 50%, 65%)
CMYKcmyk(24%, 0%, 49.7%, 34.5%)
CIE-LABlab(63.99, -28.00, 38.33)
CIE-LCHlch(63.99, 47.47, 126.15°)
OKLaboklab(67.99% -0.0777 0.0919)
OKLCHoklch(67.99% 0.12 130.2)
XYZxyz(24.1711, 32.7890, 13.4412)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA754 #7C54A7
analogous
#A7A654 #7FA754 #55A754
triadic
#7FA754 #547FA7 #A7547F
tetradic
#7FA754 #54A7A6 #7C54A7 #A75455
square
#7FA754 #54A7A6 #7C54A7 #A75455
split-complementary
#7FA754 #5455A7 #A654A7
monochromatic
#41562B #607E40 #7FA754 #9DBD7B #BCD1A4

Accessibility & contrast

On white

2.78
#7FA754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7FA754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA754
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA754#FFFFFF#000000##000000
##7FA7541.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4D
Deuteranopia (green-blind)
#A89A59
Tritanopia (blue-blind)
#81A194
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa754;
/* rgb */ color: rgb(127, 167, 84);
/* oklch */ color: oklch(68.0% 0.120 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6c186',
    500: '#7fa754',
    950: '#000000',
  },
}
SCSS
$custom: #7fa754;
$custom-light: #a6c186;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa754",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 84
  },
  "hsl": {
    "h": 88.916,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67989,
    "c": 0.12033,
    "h": 130.2
  },
  "luminance": 0.3279
}

Semantic roles & 50–950 ramp

primary
#7FA754
secondary
#AB98BF
accent
#5FC992
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA754

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

Preview Lab → · Contrast checker → · Palette generator →

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