#7FA82F#7FA82F

#7FA82F is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.153 H 126.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7FA82F
RGBrgb(127, 168, 47)
HSLhsl(80, 56%, 42%)
HSVhsv(80, 72%, 66%)
CMYKcmyk(24.4%, 0%, 72%, 34.1%)
CIE-LABlab(63.94, -31.76, 54.83)
CIE-LCHlch(63.94, 63.37, 120.08°)
OKLaboklab(67.83% -0.0913 0.1229)
OKLCHoklch(67.83% 0.153 126.6)
XYZxyz(23.2682, 32.7221, 7.7789)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA82F #582FA8
analogous
#A8952F #7FA82F #42A82F
triadic
#7FA82F #2F7FA8 #A82F7F
tetradic
#7FA82F #2FA895 #582FA8 #A82F42
square
#7FA82F #2FA895 #582FA8 #A82F42
split-complementary
#7FA82F #2F42A8 #952FA8
monochromatic
#374814 #5B7822 #7FA82F #9FCC48 #B8D978

Accessibility & contrast

On white

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

On black

7.54
#7FA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA82F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA82F#FFFFFF#000000##000000
##7FA82F1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#84A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa82f;
/* rgb */ color: rgb(127, 168, 47);
/* oklch */ color: oklch(67.8% 0.153 126.6);
Tailwind
colors: {
  custom: {
    50: '#a8c270',
    500: '#7fa82f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa82f;
$custom-light: #a8c270;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa82f",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 80.331,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67831,
    "c": 0.15312,
    "h": 126.6
  },
  "luminance": 0.32723
}

Semantic roles & 50–950 ramp

primary
#7FA82F
secondary
#8D71C1
accent
#48E07C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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