#7FA82E#7FA82E

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

Color values

HEX#7FA82E
RGBrgb(127, 168, 46)
HSLhsl(80, 57%, 42%)
HSVhsv(80, 73%, 66%)
CMYKcmyk(24.4%, 0%, 72.6%, 34.1%)
CIE-LABlab(63.93, -31.83, 55.20)
CIE-LCHlch(63.93, 63.71, 119.97°)
OKLaboklab(67.82% -0.0915 0.1235)
OKLCHoklch(67.82% 0.154 126.5)
XYZxyz(23.2483, 32.7142, 7.6739)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA82E #572EA8
analogous
#A8942E #7FA82E #42A82E
triadic
#7FA82E #2E7FA8 #A82E7F
tetradic
#7FA82E #2EA894 #572EA8 #A82E42
square
#7FA82E #2EA894 #572EA8 #A82E42
split-complementary
#7FA82E #2E42A8 #942EA8
monochromatic
#364814 #5B7821 #7FA82E #A0CD47 #B8DA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA82E#FFFFFF#000000##000000
##7FA82E1.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)
#B19D18
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#84A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa82e;
/* rgb */ color: rgb(127, 168, 46);
/* oklch */ color: oklch(67.8% 0.154 126.5);
Tailwind
colors: {
  custom: {
    50: '#a8c26f',
    500: '#7fa82e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa82e;
$custom-light: #a8c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa82e",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 80.164,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67824,
    "c": 0.15376,
    "h": 126.5
  },
  "luminance": 0.32715
}

Semantic roles & 50–950 ramp

primary
#7FA82E
secondary
#8C70C2
accent
#48E07B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA82E

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

Preview Lab → · Contrast checker → · Palette generator →

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