#7CB028#7CB028

#7CB028 is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.6% C 0.169 H 128.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7CB028
RGBrgb(124, 176, 40)
HSLhsl(83, 63%, 42%)
HSVhsv(83, 77%, 69%)
CMYKcmyk(29.5%, 0%, 77.3%, 31%)
CIE-LABlab(66.13, -37.00, 59.32)
CIE-LCHlch(66.13, 69.91, 121.95°)
OKLaboklab(69.55% -0.1059 0.1313)
OKLCHoklch(69.55% 0.169 128.9)
XYZxyz(24.2205, 35.4883, 7.5809)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB028 #5C28B0
analogous
#B0A028 #7CB028 #38B028
triadic
#7CB028 #287CB0 #B0287C
tetradic
#7CB028 #28B0A0 #5C28B0 #B02838
square
#7CB028 #28B0A0 #5C28B0 #B02838
split-complementary
#7CB028 #2838B0 #A028B0
monochromatic
#364C11 #597E1D #7CB028 #9CD441 #B6DF73

Accessibility & contrast

On white

2.59
#7CB028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#7CB028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB028
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB028#FFFFFF#000000##000000
##7CB0281.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb028;
/* rgb */ color: rgb(124, 176, 40);
/* oklch */ color: oklch(69.6% 0.169 128.9);
Tailwind
colors: {
  custom: {
    50: '#a6c86d',
    500: '#7cb028',
    950: '#000000',
  },
}
SCSS
$custom: #7cb028;
$custom-light: #a6c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb028",
  "rgb": {
    "r": 124,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 82.941,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69551,
    "c": 0.1687,
    "h": 128.9
  },
  "luminance": 0.35489
}

Semantic roles & 50–950 ramp

primary
#7CB028
secondary
#8F6DC6
accent
#42E681
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB028

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

Preview Lab → · Contrast checker → · Palette generator →

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