#7CBD21#7CBD21

#7CBD21 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 72.7% C 0.188 H 130.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7CBD21
RGBrgb(124, 189, 33)
HSLhsl(85, 70%, 44%)
HSVhsv(85, 83%, 74%)
CMYKcmyk(34.4%, 0%, 82.5%, 25.9%)
CIE-LABlab(70.03, -43.00, 64.91)
CIE-LCHlch(70.03, 77.86, 123.53°)
OKLaboklab(72.72% -0.1226 0.142)
OKLCHoklch(72.72% 0.188 130.8)
XYZxyz(26.7841, 40.7891, 7.9004)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBD21 #6221BD
analogous
#BDB021 #7CBD21 #2EBD21
triadic
#7CBD21 #217CBD #BD217C
tetradic
#7CBD21 #21BDB0 #6221BD #BD212E
square
#7CBD21 #21BDB0 #6221BD #BD212E
split-complementary
#7CBD21 #212EBD #B021BD
monochromatic
#38550F #5A8918 #7CBD21 #9BDD3E #B6E672

Accessibility & contrast

On white

2.29
#7CBD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#7CBD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBD21
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBD21#FFFFFF#000000##000000
##7CBD211.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#7FB5A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7cbd21;
/* rgb */ color: rgb(124, 189, 33);
/* oklch */ color: oklch(72.7% 0.188 130.8);
Tailwind
colors: {
  custom: {
    50: '#a7d16c',
    500: '#7cbd21',
    950: '#000000',
  },
}
SCSS
$custom: #7cbd21;
$custom-light: #a7d16c;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbd21",
  "rgb": {
    "r": 124,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 85,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.1876,
    "h": 130.8
  },
  "luminance": 0.4079
}

Semantic roles & 50–950 ramp

primary
#7CBD21
secondary
#956DCD
accent
#3BED85
background
#FAFCF6
surface
#F4F9EC
border
#CED2C7
text
#101408
muted
#7F827A

Preview Lab

Preview with #7CBD21

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

Preview Lab → · Contrast checker → · Palette generator →

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