#7CBA40#7CBA40

#7CBA40 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.2% C 0.166 H 132.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7CBA40
RGBrgb(124, 186, 64)
HSLhsl(90, 49%, 49%)
HSVhsv(90, 66%, 73%)
CMYKcmyk(33.3%, 0%, 65.6%, 27.1%)
CIE-LABlab(69.31, -39.85, 53.61)
CIE-LCHlch(69.31, 66.80, 126.62°)
OKLaboklab(72.19% -0.1118 0.1228)
OKLCHoklch(72.19% 0.166 132.3)
XYZxyz(26.7961, 39.7721, 11.1144)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBA40 #7E40BA
analogous
#B9BA40 #7CBA40 #40BA41
triadic
#7CBA40 #407CBA #BA407C
tetradic
#7CBA40 #40B9BA #7E40BA #BA4140
square
#7CBA40 #40B9BA #7E40BA #BA4140
split-complementary
#7CBA40 #4140BA #BA40B9
monochromatic
#3F5F21 #5E8C30 #7CBA40 #9BCC6B #BADC99

Accessibility & contrast

On white

2.35
#7CBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#7CBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBA40
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBA40#FFFFFF#000000##000000
##7CBA401.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC30
Deuteranopia (green-blind)
#B9A84A
Tritanopia (blue-blind)
#7DB3A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7cba40;
/* rgb */ color: rgb(124, 186, 64);
/* oklch */ color: oklch(72.2% 0.166 132.3);
Tailwind
colors: {
  custom: {
    50: '#a6cf7b',
    500: '#7cba40',
    950: '#000000',
  },
}
SCSS
$custom: #7cba40;
$custom-light: #a6cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cba40",
  "rgb": {
    "r": 124,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 90.492,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72191,
    "c": 0.16608,
    "h": 132.3
  },
  "luminance": 0.39773
}

Semantic roles & 50–950 ramp

primary
#7CBA40
secondary
#AB8EC8
accent
#4FD895
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7CBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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