#7FB028#7FB028

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

Color values

HEX#7FB028
RGBrgb(127, 176, 40)
HSLhsl(82, 63%, 42%)
HSVhsv(82, 77%, 69%)
CMYKcmyk(27.8%, 0%, 77.3%, 31%)
CIE-LABlab(66.30, -35.85, 59.55)
CIE-LCHlch(66.30, 69.50, 121.05°)
OKLaboklab(69.74% -0.103 0.1317)
OKLCHoklch(69.74% 0.167 128)
XYZxyz(24.6608, 35.7153, 7.6015)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB028 #5928B0
analogous
#B09D28 #7FB028 #3BB028
triadic
#7FB028 #287FB0 #B0287F
tetradic
#7FB028 #28B09D #5928B0 #B0283B
square
#7FB028 #28B09D #5928B0 #B0283B
split-complementary
#7FB028 #283BB0 #9D28B0
monochromatic
#374C11 #5B7E1D #7FB028 #9FD441 #B8DF73

Accessibility & contrast

On white

2.58
#7FB028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#7FB028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB028
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB028#FFFFFF#000000##000000
##7FB0281.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A302
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#84A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fb028;
/* rgb */ color: rgb(127, 176, 40);
/* oklch */ color: oklch(69.7% 0.167 128.0);
Tailwind
colors: {
  custom: {
    50: '#a8c86d',
    500: '#7fb028',
    950: '#000000',
  },
}
SCSS
$custom: #7fb028;
$custom-light: #a8c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb028",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 81.618,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.16719,
    "h": 128
  },
  "luminance": 0.35716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FB028

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

Preview Lab → · Contrast checker → · Palette generator →

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