#7CBC21#7CBC21

#7CBC21 is a light, vivid yellow-green. Relative luminance 0.404; OKLCH L 72.5% C 0.186 H 130.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7CBC21
RGBrgb(124, 188, 33)
HSLhsl(85, 70%, 43%)
HSVhsv(85, 82%, 74%)
CMYKcmyk(34%, 0%, 82.4%, 26.3%)
CIE-LABlab(69.73, -42.58, 64.64)
CIE-LCHlch(69.73, 77.40, 123.37°)
OKLaboklab(72.47% -0.1214 0.1414)
OKLCHoklch(72.47% 0.186 130.6)
XYZxyz(26.5698, 40.3604, 7.8290)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBC21 #6121BC
analogous
#BCAE21 #7CBC21 #2EBC21
triadic
#7CBC21 #217CBC #BC217C
tetradic
#7CBC21 #21BCAE #6121BC #BC212E
square
#7CBC21 #21BCAE #6121BC #BC212E
split-complementary
#7CBC21 #212EBC #AE21BC
monochromatic
#37540F #5A8818 #7CBC21 #9BDD3D #B6E671

Accessibility & contrast

On white

2.31
#7CBC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#7CBC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBC21
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBC21#FFFFFF#000000##000000
##7CBC211.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AD00
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#7FB4A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7cbc21;
/* rgb */ color: rgb(124, 188, 33);
/* oklch */ color: oklch(72.5% 0.186 130.6);
Tailwind
colors: {
  custom: {
    50: '#a7d06c',
    500: '#7cbc21',
    950: '#000000',
  },
}
SCSS
$custom: #7cbc21;
$custom-light: #a7d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbc21",
  "rgb": {
    "r": 124,
    "g": 188,
    "b": 33
  },
  "hsl": {
    "h": 84.774,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72473,
    "c": 0.18642,
    "h": 130.6
  },
  "luminance": 0.40361
}

Semantic roles & 50–950 ramp

primary
#7CBC21
secondary
#946CCD
accent
#3BED84
background
#FAFCF6
surface
#F4F9EC
border
#CED2C7
text
#101408
muted
#7F827A

Preview Lab

Preview with #7CBC21

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

Preview Lab → · Contrast checker → · Palette generator →

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