#7EAF28#7EAF28

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

Color values

HEX#7EAF28
RGBrgb(126, 175, 40)
HSLhsl(82, 63%, 42%)
HSVhsv(82, 77%, 69%)
CMYKcmyk(28%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.94, -35.78, 59.19)
CIE-LCHlch(65.94, 69.16, 121.15°)
OKLaboklab(69.43% -0.1027 0.131)
OKLCHoklch(69.43% 0.166 128.1)
XYZxyz(24.3172, 35.2482, 7.5295)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF28 #5928AF
analogous
#AF9D28 #7EAF28 #3AAF28
triadic
#7EAF28 #287EAF #AF287E
tetradic
#7EAF28 #28AF9D #5928AF #AF283A
square
#7EAF28 #28AF9D #5928AF #AF283A
split-complementary
#7EAF28 #283AAF #9D28AF
monochromatic
#364B11 #5A7D1D #7EAF28 #9ED441 #B8DF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAF28#FFFFFF#000000##000000
##7EAF281.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)
#B8A203
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#83A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eaf28;
/* rgb */ color: rgb(126, 175, 40);
/* oklch */ color: oklch(69.4% 0.166 128.1);
Tailwind
colors: {
  custom: {
    50: '#a8c76d',
    500: '#7eaf28',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf28;
$custom-light: #a8c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf28",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 81.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69431,
    "c": 0.16646,
    "h": 128.1
  },
  "luminance": 0.35249
}

Semantic roles & 50–950 ramp

primary
#7EAF28
secondary
#8D6DC6
accent
#42E67D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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