#7FAD28#7FAD28

#7FAD28 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.0% C 0.164 H 127.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7FAD28
RGBrgb(127, 173, 40)
HSLhsl(81, 62%, 42%)
HSVhsv(81, 77%, 68%)
CMYKcmyk(26.6%, 0%, 76.9%, 32.2%)
CIE-LABlab(65.40, -34.48, 58.70)
CIE-LCHlch(65.40, 68.07, 120.43°)
OKLaboklab(69.01% -0.0992 0.1299)
OKLCHoklch(69.01% 0.164 127.4)
XYZxyz(24.0790, 34.5519, 7.4076)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAD28 #5628AD
analogous
#AD9928 #7FAD28 #3DAD28
triadic
#7FAD28 #287FAD #AD287F
tetradic
#7FAD28 #28AD99 #5628AD #AD283D
square
#7FAD28 #28AD99 #5628AD #AD283D
split-complementary
#7FAD28 #283DAD #9928AD
monochromatic
#364A11 #5B7B1D #7FAD28 #A0D33F #B9DE71

Accessibility & contrast

On white

2.65
#7FAD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#7FAD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAD28
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAD28#FFFFFF#000000##000000
##7FAD281.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A105
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#84A594
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fad28;
/* rgb */ color: rgb(127, 173, 40);
/* oklch */ color: oklch(69.0% 0.164 127.4);
Tailwind
colors: {
  custom: {
    50: '#a8c56d',
    500: '#7fad28',
    950: '#000000',
  },
}
SCSS
$custom: #7fad28;
$custom-light: #a8c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fad28",
  "rgb": {
    "r": 127,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 80.752,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69005,
    "c": 0.1635,
    "h": 127.4
  },
  "luminance": 0.34552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FAD28

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

Preview Lab → · Contrast checker → · Palette generator →

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