#7EAF26#7EAF26

#7EAF26 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.167 H 128.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7EAF26
RGBrgb(126, 175, 38)
HSLhsl(81, 64%, 42%)
HSVhsv(81, 78%, 69%)
CMYKcmyk(28%, 0%, 78.3%, 31.4%)
CIE-LABlab(65.93, -35.88, 59.81)
CIE-LCHlch(65.93, 69.75, 120.96°)
OKLaboklab(69.42% -0.1031 0.132)
OKLCHoklch(69.42% 0.167 128)
XYZxyz(24.2840, 35.2349, 7.3549)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF26 #5726AF
analogous
#AF9C26 #7EAF26 #3AAF26
triadic
#7EAF26 #267EAF #AF267E
tetradic
#7EAF26 #26AF9C #5726AF #AF263A
square
#7EAF26 #26AF9C #5726AF #AF263A
split-complementary
#7EAF26 #263AAF #9C26AF
monochromatic
#364A10 #5A7D1B #7EAF26 #9FD53D #B8E070

Accessibility & contrast

On white

2.61
#7EAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#7EAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF26
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF26#FFFFFF#000000##000000
##7EAF261.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eaf26;
/* rgb */ color: rgb(126, 175, 38);
/* oklch */ color: oklch(69.4% 0.167 128.0);
Tailwind
colors: {
  custom: {
    50: '#a8c76c',
    500: '#7eaf26',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf26;
$custom-light: #a8c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf26",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 81.46,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69419,
    "c": 0.16749,
    "h": 128
  },
  "luminance": 0.35236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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