#7FBC20#7FBC20

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

Color values

HEX#7FBC20
RGBrgb(127, 188, 32)
HSLhsl(83, 71%, 43%)
HSVhsv(83, 83%, 74%)
CMYKcmyk(32.4%, 0%, 83%, 26.3%)
CIE-LABlab(69.88, -41.51, 65.09)
CIE-LCHlch(69.88, 77.20, 122.53°)
OKLaboklab(72.64% -0.1188 0.1422)
OKLCHoklch(72.64% 0.185 129.9)
XYZxyz(26.9962, 40.5819, 7.7769)
Luminance0.4058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBC20 #5D20BC
analogous
#BCAB20 #7FBC20 #31BC20
triadic
#7FBC20 #207FBC #BC207F
tetradic
#7FBC20 #20BCAB #5D20BC #BC2031
square
#7FBC20 #20BCAB #5D20BC #BC2031
split-complementary
#7FBC20 #2031BC #AB20BC
monochromatic
#38530E #5C8817 #7FBC20 #9EDE3B #B8E770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FBC20#FFFFFF#000000##000000
##7FBC201.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)
#C5AE00
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#83B3A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7fbc20;
/* rgb */ color: rgb(127, 188, 32);
/* oklch */ color: oklch(72.6% 0.185 129.9);
Tailwind
colors: {
  custom: {
    50: '#a9d06b',
    500: '#7fbc20',
    950: '#000000',
  },
}
SCSS
$custom: #7fbc20;
$custom-light: #a9d06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbc20",
  "rgb": {
    "r": 127,
    "g": 188,
    "b": 32
  },
  "hsl": {
    "h": 83.462,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.18528,
    "h": 129.9
  },
  "luminance": 0.40583
}

Semantic roles & 50–950 ramp

primary
#7FBC20
secondary
#916BCD
accent
#3AEE80
background
#FAFCF6
surface
#F4F9EC
border
#CED2C7
text
#101408
muted
#7F827A

Preview Lab

Preview with #7FBC20

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

Preview Lab → · Contrast checker → · Palette generator →

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