#7CBF40#7CBF40

#7CBF40 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.4% C 0.173 H 133.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7CBF40
RGBrgb(124, 191, 64)
HSLhsl(92, 50%, 50%)
HSVhsv(92, 66%, 75%)
CMYKcmyk(35.1%, 0%, 66.5%, 25.1%)
CIE-LABlab(70.81, -42.02, 55.22)
CIE-LCHlch(70.81, 69.39, 127.27°)
OKLaboklab(73.42% -0.1177 0.1262)
OKLCHoklch(73.42% 0.173 133)
XYZxyz(27.8680, 41.9157, 11.4717)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBF40 #8340BF
analogous
#BBBF40 #7CBF40 #40BF44
triadic
#7CBF40 #407CBF #BF407C
tetradic
#7CBF40 #40BBBF #8340BF #BF4440
square
#7CBF40 #40BBBF #8340BF #BF4440
split-complementary
#7CBF40 #4440BF #BF40BB
monochromatic
#406321 #5E9131 #7CBF40 #9BCE6E #BBDE9C

Accessibility & contrast

On white

2.24
#7CBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#7CBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBF40
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBF40#FFFFFF#000000##000000
##7CBF401.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#7DB8A5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7cbf40;
/* rgb */ color: rgb(124, 191, 64);
/* oklch */ color: oklch(73.4% 0.173 133.0);
Tailwind
colors: {
  custom: {
    50: '#a6d27b',
    500: '#7cbf40',
    950: '#000000',
  },
}
SCSS
$custom: #7cbf40;
$custom-light: #a6d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbf40",
  "rgb": {
    "r": 124,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 91.654,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.73419,
    "c": 0.1726,
    "h": 133
  },
  "luminance": 0.41917
}

Semantic roles & 50–950 ramp

primary
#7CBF40
secondary
#AF91CA
accent
#4ED998
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7CBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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