#7FA454#7FA454

#7FA454 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.3% C 0.116 H 129.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7FA454
RGBrgb(127, 164, 84)
HSLhsl(88, 32%, 49%)
HSVhsv(88, 49%, 64%)
CMYKcmyk(22.6%, 0%, 48.8%, 35.7%)
CIE-LABlab(63.10, -26.55, 37.24)
CIE-LCHlch(63.10, 45.73, 125.48°)
OKLaboklab(67.27% -0.0737 0.0894)
OKLCHoklch(67.27% 0.116 129.5)
XYZxyz(23.6278, 31.7026, 13.2602)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA454 #7954A4
analogous
#A4A154 #7FA454 #57A454
triadic
#7FA454 #547FA4 #A4547F
tetradic
#7FA454 #54A4A1 #7954A4 #A45457
square
#7FA454 #54A4A1 #7954A4 #A45457
split-complementary
#7FA454 #5457A4 #A154A4
monochromatic
#40532B #607C3F #7FA454 #9DBB7A #BBD0A3

Accessibility & contrast

On white

2.86
#7FA454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#7FA454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA454
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA454#FFFFFF#000000##000000
##7FA4541.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4D
Deuteranopia (green-blind)
#A59859
Tritanopia (blue-blind)
#829E91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa454;
/* rgb */ color: rgb(127, 164, 84);
/* oklch */ color: oklch(67.3% 0.116 129.5);
Tailwind
colors: {
  custom: {
    50: '#a6bf86',
    500: '#7fa454',
    950: '#000000',
  },
}
SCSS
$custom: #7fa454;
$custom-light: #a6bf86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa454",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 84
  },
  "hsl": {
    "h": 87.75,
    "s": 32.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.67268,
    "c": 0.11587,
    "h": 129.5
  },
  "luminance": 0.31703
}

Semantic roles & 50–950 ramp

primary
#7FA454
secondary
#A897BD
accent
#5FC890
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA454

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

Preview Lab → · Contrast checker → · Palette generator →

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