#7CAF28#7CAF28

#7CAF28 is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.167 H 128.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7CAF28
RGBrgb(124, 175, 40)
HSLhsl(83, 63%, 42%)
HSVhsv(83, 77%, 69%)
CMYKcmyk(29.1%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.82, -36.55, 59.04)
CIE-LCHlch(65.82, 69.44, 121.76°)
OKLaboklab(69.31% -0.1047 0.1307)
OKLCHoklch(69.31% 0.167 128.7)
XYZxyz(24.0251, 35.0976, 7.5158)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF28 #5B28AF
analogous
#AF9F28 #7CAF28 #38AF28
triadic
#7CAF28 #287CAF #AF287C
tetradic
#7CAF28 #28AF9F #5B28AF #AF2838
square
#7CAF28 #28AF9F #5B28AF #AF2838
split-complementary
#7CAF28 #2838AF #9F28AF
monochromatic
#354B11 #597D1D #7CAF28 #9CD441 #B6DF73

Accessibility & contrast

On white

2.62
#7CAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#7CAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAF28
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAF28#FFFFFF#000000##000000
##7CAF281.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A203
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#80A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf28;
/* rgb */ color: rgb(124, 175, 40);
/* oklch */ color: oklch(69.3% 0.167 128.7);
Tailwind
colors: {
  custom: {
    50: '#a6c76d',
    500: '#7caf28',
    950: '#000000',
  },
}
SCSS
$custom: #7caf28;
$custom-light: #a6c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf28",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 82.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.16748,
    "h": 128.7
  },
  "luminance": 0.35098
}

Semantic roles & 50–950 ramp

primary
#7CAF28
secondary
#8E6DC6
accent
#42E680
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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