#7FA551#7FA551

#7FA551 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.5% C 0.120 H 129.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7FA551
RGBrgb(127, 165, 81)
HSLhsl(87, 34%, 48%)
HSVhsv(87, 51%, 65%)
CMYKcmyk(23%, 0%, 50.9%, 35.3%)
CIE-LABlab(63.36, -27.38, 39.07)
CIE-LCHlch(63.36, 47.70, 125.02°)
OKLaboklab(67.47% -0.0762 0.0933)
OKLCHoklch(67.47% 0.12 129.3)
XYZxyz(23.6925, 32.0159, 12.7144)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA551 #7751A5
analogous
#A5A151 #7FA551 #55A551
triadic
#7FA551 #517FA5 #A5517F
tetradic
#7FA551 #51A5A1 #7751A5 #A55155
square
#7FA551 #51A5A1 #7751A5 #A55155
split-complementary
#7FA551 #5155A5 #A151A5
monochromatic
#405329 #5F7C3D #7FA551 #9DBC77 #BBD0A0

Accessibility & contrast

On white

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

On black

7.40
#7FA551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA551
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA551#FFFFFF#000000##000000
##7FA5511.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B4A
Deuteranopia (green-blind)
#A69956
Tritanopia (blue-blind)
#829F92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa551;
/* rgb */ color: rgb(127, 165, 81);
/* oklch */ color: oklch(67.5% 0.120 129.3);
Tailwind
colors: {
  custom: {
    50: '#a6c084',
    500: '#7fa551',
    950: '#000000',
  },
}
SCSS
$custom: #7fa551;
$custom-light: #a6c084;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa551",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 81
  },
  "hsl": {
    "h": 87.143,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67465,
    "c": 0.12043,
    "h": 129.3
  },
  "luminance": 0.32016
}

Semantic roles & 50–950 ramp

primary
#7FA551
secondary
#A794BD
accent
#5ECA8F
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA551

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

Preview Lab → · Contrast checker → · Palette generator →

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