#7EAF22#7EAF22

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

Color values

HEX#7EAF22
RGBrgb(126, 175, 34)
HSLhsl(81, 67%, 41%)
HSVhsv(81, 81%, 69%)
CMYKcmyk(28%, 0%, 80.6%, 31.4%)
CIE-LABlab(65.91, -36.07, 60.98)
CIE-LCHlch(65.91, 70.85, 120.60°)
OKLaboklab(69.4% -0.1039 0.1338)
OKLCHoklch(69.4% 0.169 127.8)
XYZxyz(24.2229, 35.2105, 7.0332)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF22 #5322AF
analogous
#AF9922 #7EAF22 #37AF22
triadic
#7EAF22 #227EAF #AF227E
tetradic
#7EAF22 #22AF99 #5322AF #AF2237
square
#7EAF22 #22AF99 #5322AF #AF2237
split-complementary
#7EAF22 #2237AF #9922AF
monochromatic
#34490E #597C18 #7EAF22 #A0D836 #B8E269

Accessibility & contrast

On white

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

On black

8.04
#7EAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF22
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF22#FFFFFF#000000##000000
##7EAF221.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eaf22;
/* rgb */ color: rgb(126, 175, 34);
/* oklch */ color: oklch(69.4% 0.169 127.8);
Tailwind
colors: {
  custom: {
    50: '#a8c76a',
    500: '#7eaf22',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf22;
$custom-light: #a8c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf22",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 80.851,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69398,
    "c": 0.16942,
    "h": 127.8
  },
  "luminance": 0.35211
}

Semantic roles & 50–950 ramp

primary
#7EAF22
secondary
#8765C8
accent
#3DEA7A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7EAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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