#7CAC28#7CAC28

#7CAC28 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.6% C 0.164 H 128.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7CAC28
RGBrgb(124, 172, 40)
HSLhsl(82, 62%, 42%)
HSVhsv(82, 77%, 67%)
CMYKcmyk(27.9%, 0%, 76.7%, 32.5%)
CIE-LABlab(64.92, -35.19, 58.18)
CIE-LCHlch(64.92, 67.99, 121.17°)
OKLaboklab(68.57% -0.101 0.1289)
OKLCHoklch(68.57% 0.164 128.1)
XYZxyz(23.4477, 33.9428, 7.3233)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC28 #5828AC
analogous
#AC9A28 #7CAC28 #3AAC28
triadic
#7CAC28 #287CAC #AC287C
tetradic
#7CAC28 #28AC9A #5828AC #AC283A
square
#7CAC28 #28AC9A #5828AC #AC283A
split-complementary
#7CAC28 #283AAC #9A28AC
monochromatic
#344911 #587A1C #7CAC28 #9DD23F #B6DE71

Accessibility & contrast

On white

2.70
#7CAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#7CAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAC28
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAC28#FFFFFF#000000##000000
##7CAC281.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A006
Deuteranopia (green-blind)
#AE9D35
Tritanopia (blue-blind)
#80A493
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cac28;
/* rgb */ color: rgb(124, 172, 40);
/* oklch */ color: oklch(68.6% 0.164 128.1);
Tailwind
colors: {
  custom: {
    50: '#a6c56d',
    500: '#7cac28',
    950: '#000000',
  },
}
SCSS
$custom: #7cac28;
$custom-light: #a6c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac28",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 81.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68567,
    "c": 0.16378,
    "h": 128.1
  },
  "luminance": 0.33943
}

Semantic roles & 50–950 ramp

primary
#7CAC28
secondary
#8C6BC5
accent
#42E57E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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