#7FAF26#7FAF26

#7FAF26 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.167 H 127.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7FAF26
RGBrgb(127, 175, 38)
HSLhsl(81, 64%, 42%)
HSVhsv(81, 78%, 69%)
CMYKcmyk(27.4%, 0%, 78.3%, 31.4%)
CIE-LABlab(65.99, -35.49, 59.88)
CIE-LCHlch(65.99, 69.61, 120.65°)
OKLaboklab(69.48% -0.1021 0.1321)
OKLCHoklch(69.48% 0.167 127.7)
XYZxyz(24.4323, 35.3114, 7.3619)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF26 #5626AF
analogous
#AF9B26 #7FAF26 #3BAF26
triadic
#7FAF26 #267FAF #AF267F
tetradic
#7FAF26 #26AF9B #5626AF #AF263B
square
#7FAF26 #26AF9B #5626AF #AF263B
split-complementary
#7FAF26 #263BAF #9B26AF
monochromatic
#364A10 #5B7D1B #7FAF26 #A0D53D #B9E070

Accessibility & contrast

On white

2.60
#7FAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7FAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF26
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF26#FFFFFF#000000##000000
##7FAF261.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B29F34
Tritanopia (blue-blind)
#84A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf26;
/* rgb */ color: rgb(127, 175, 38);
/* oklch */ color: oklch(69.5% 0.167 127.7);
Tailwind
colors: {
  custom: {
    50: '#a8c76c',
    500: '#7faf26',
    950: '#000000',
  },
}
SCSS
$custom: #7faf26;
$custom-light: #a8c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf26",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 81.022,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69483,
    "c": 0.167,
    "h": 127.7
  },
  "luminance": 0.35312
}

Semantic roles & 50–950 ramp

primary
#7FAF26
secondary
#8B6AC7
accent
#40E77B
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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