#7FAE28#7FAE28

#7FAE28 is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 69.3% C 0.165 H 127.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7FAE28
RGBrgb(127, 174, 40)
HSLhsl(81, 63%, 42%)
HSVhsv(81, 77%, 68%)
CMYKcmyk(27%, 0%, 77%, 31.8%)
CIE-LABlab(65.70, -34.94, 58.98)
CIE-LCHlch(65.70, 68.55, 120.64°)
OKLaboklab(69.25% -0.1005 0.1305)
OKLCHoklch(69.25% 0.165 127.6)
XYZxyz(24.2715, 34.9368, 7.4718)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAE28 #5728AE
analogous
#AE9A28 #7FAE28 #3CAE28
triadic
#7FAE28 #287FAE #AE287F
tetradic
#7FAE28 #28AE9A #5728AE #AE283C
square
#7FAE28 #28AE9A #5728AE #AE283C
split-complementary
#7FAE28 #283CAE #9A28AE
monochromatic
#364A11 #5B7C1D #7FAE28 #A0D340 #B8DF72

Accessibility & contrast

On white

2.63
#7FAE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#7FAE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAE28
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAE28#FFFFFF#000000##000000
##7FAE281.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A204
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#84A695
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fae28;
/* rgb */ color: rgb(127, 174, 40);
/* oklch */ color: oklch(69.3% 0.165 127.6);
Tailwind
colors: {
  custom: {
    50: '#a8c66d',
    500: '#7fae28',
    950: '#000000',
  },
}
SCSS
$custom: #7fae28;
$custom-light: #a8c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fae28",
  "rgb": {
    "r": 127,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 81.045,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.16473,
    "h": 127.6
  },
  "luminance": 0.34937
}

Semantic roles & 50–950 ramp

primary
#7FAE28
secondary
#8C6CC6
accent
#42E67B
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAE28

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

Preview Lab → · Contrast checker → · Palette generator →

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