#7FBC22#7FBC22

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

Color values

HEX#7FBC22
RGBrgb(127, 188, 34)
HSLhsl(84, 69%, 44%)
HSVhsv(84, 82%, 74%)
CMYKcmyk(32.4%, 0%, 81.9%, 26.3%)
CIE-LABlab(69.89, -41.43, 64.58)
CIE-LCHlch(69.89, 76.73, 122.68°)
OKLaboklab(72.65% -0.1185 0.1414)
OKLCHoklch(72.65% 0.184 130)
XYZxyz(27.0242, 40.5931, 7.9245)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBC22 #5F22BC
analogous
#BCAC22 #7FBC22 #32BC22
triadic
#7FBC22 #227FBC #BC227F
tetradic
#7FBC22 #22BCAC #5F22BC #BC2232
square
#7FBC22 #22BCAC #5F22BC #BC2232
split-complementary
#7FBC22 #2232BC #AC22BC
monochromatic
#39540F #5C8819 #7FBC22 #9EDC3F #B8E673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FBC22#FFFFFF#000000##000000
##7FBC221.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)
#82B4A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7fbc22;
/* rgb */ color: rgb(127, 188, 34);
/* oklch */ color: oklch(72.7% 0.184 130.0);
Tailwind
colors: {
  custom: {
    50: '#a9d06c',
    500: '#7fbc22',
    950: '#000000',
  },
}
SCSS
$custom: #7fbc22;
$custom-light: #a9d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbc22",
  "rgb": {
    "r": 127,
    "g": 188,
    "b": 34
  },
  "hsl": {
    "h": 83.766,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72652,
    "c": 0.18447,
    "h": 130
  },
  "luminance": 0.40594
}

Semantic roles & 50–950 ramp

primary
#7FBC22
secondary
#936DCD
accent
#3CEC82
background
#FAFCF6
surface
#F4F9EC
border
#CED2C7
text
#101408
muted
#7F827A

Preview Lab

Preview with #7FBC22

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

Preview Lab → · Contrast checker → · Palette generator →

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