#7CBC40#7CBC40

#7CBC40 is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 72.7% C 0.169 H 132.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7CBC40
RGBrgb(124, 188, 64)
HSLhsl(91, 49%, 49%)
HSVhsv(91, 66%, 74%)
CMYKcmyk(34%, 0%, 66%, 26.3%)
CIE-LABlab(69.91, -40.72, 54.25)
CIE-LCHlch(69.91, 67.84, 126.89°)
OKLaboklab(72.68% -0.1142 0.1242)
OKLCHoklch(72.68% 0.169 132.6)
XYZxyz(27.2204, 40.6206, 11.2558)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBC40 #8040BC
analogous
#BABC40 #7CBC40 #40BC42
triadic
#7CBC40 #407CBC #BC407C
tetradic
#7CBC40 #40BABC #8040BC #BC4240
square
#7CBC40 #40BABC #8040BC #BC4240
split-complementary
#7CBC40 #4240BC #BC40BA
monochromatic
#406121 #5E8E30 #7CBC40 #9BCD6C #BADD9A

Accessibility & contrast

On white

2.30
#7CBC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#7CBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBC40
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBC40#FFFFFF#000000##000000
##7CBC401.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2F
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#7DB5A3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7cbc40;
/* rgb */ color: rgb(124, 188, 64);
/* oklch */ color: oklch(72.7% 0.169 132.6);
Tailwind
colors: {
  custom: {
    50: '#a6d07b',
    500: '#7cbc40',
    950: '#000000',
  },
}
SCSS
$custom: #7cbc40;
$custom-light: #a6d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbc40",
  "rgb": {
    "r": 124,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 90.968,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72682,
    "c": 0.1687,
    "h": 132.6
  },
  "luminance": 0.40622
}

Semantic roles & 50–950 ramp

primary
#7CBC40
secondary
#AD8FC9
accent
#4FD996
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7CBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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