#7CBB40#7CBB40

#7CBB40 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.4% C 0.167 H 132.5°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7CBB40
RGBrgb(124, 187, 64)
HSLhsl(91, 49%, 49%)
HSVhsv(91, 66%, 73%)
CMYKcmyk(33.7%, 0%, 65.8%, 26.7%)
CIE-LABlab(69.61, -40.29, 53.93)
CIE-LCHlch(69.61, 67.32, 126.76°)
OKLaboklab(72.44% -0.113 0.1235)
OKLCHoklch(72.44% 0.167 132.5)
XYZxyz(27.0075, 40.1949, 11.1849)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBB40 #7F40BB
analogous
#BABB40 #7CBB40 #40BB42
triadic
#7CBB40 #407CBB #BB407C
tetradic
#7CBB40 #40BABB #7F40BB #BB4240
square
#7CBB40 #40BABB #7F40BB #BB4240
split-complementary
#7CBB40 #4240BB #BB40BA
monochromatic
#406021 #5E8D30 #7CBB40 #9BCD6C #BADC99

Accessibility & contrast

On white

2.32
#7CBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#7CBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBB40
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBB40#FFFFFF#000000##000000
##7CBB401.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD30
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#7DB4A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7cbb40;
/* rgb */ color: rgb(124, 187, 64);
/* oklch */ color: oklch(72.4% 0.167 132.5);
Tailwind
colors: {
  custom: {
    50: '#a6d07b',
    500: '#7cbb40',
    950: '#000000',
  },
}
SCSS
$custom: #7cbb40;
$custom-light: #a6d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbb40",
  "rgb": {
    "r": 124,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 90.732,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72437,
    "c": 0.1674,
    "h": 132.5
  },
  "luminance": 0.40196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7CBB40

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

Preview Lab → · Contrast checker → · Palette generator →

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