#7FBC21#7FBC21

#7FBC21 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#7FBC21
RGBrgb(127, 188, 33)
HSLhsl(84, 70%, 43%)
HSVhsv(84, 82%, 74%)
CMYKcmyk(32.4%, 0%, 82.4%, 26.3%)
CIE-LABlab(69.89, -41.47, 64.84)
CIE-LCHlch(69.89, 76.97, 122.60°)
OKLaboklab(72.65% -0.1186 0.1418)
OKLCHoklch(72.65% 0.185 129.9)
XYZxyz(27.0100, 40.5874, 7.8496)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBC21 #5E21BC
analogous
#BCAB21 #7FBC21 #31BC21
triadic
#7FBC21 #217FBC #BC217F
tetradic
#7FBC21 #21BCAB #5E21BC #BC2131
square
#7FBC21 #21BCAB #5E21BC #BC2131
split-complementary
#7FBC21 #2131BC #AB21BC
monochromatic
#39540F #5C8818 #7FBC21 #9EDD3D #B8E671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FBC21#FFFFFF#000000##000000
##7FBC211.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)
#BDA934
Tritanopia (blue-blind)
#83B4A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7fbc21;
/* rgb */ color: rgb(127, 188, 33);
/* oklch */ color: oklch(72.6% 0.185 129.9);
Tailwind
colors: {
  custom: {
    50: '#a9d06c',
    500: '#7fbc21',
    950: '#000000',
  },
}
SCSS
$custom: #7fbc21;
$custom-light: #a9d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbc21",
  "rgb": {
    "r": 127,
    "g": 188,
    "b": 33
  },
  "hsl": {
    "h": 83.613,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72647,
    "c": 0.18489,
    "h": 129.9
  },
  "luminance": 0.40588
}

Semantic roles & 50–950 ramp

primary
#7FBC21
secondary
#926CCD
accent
#3BED81
background
#FAFCF6
surface
#F4F9EC
border
#CED2C7
text
#101408
muted
#7F827A

Preview Lab

Preview with #7FBC21

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

Preview Lab → · Contrast checker → · Palette generator →

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