#7FBD21#7FBD21

#7FBD21 is a light, vivid yellow-green. Relative luminance 0.410; OKLCH L 72.9% C 0.186 H 130.1°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7FBD21
RGBrgb(127, 189, 33)
HSLhsl(84, 70%, 44%)
HSVhsv(84, 83%, 74%)
CMYKcmyk(32.8%, 0%, 82.5%, 25.9%)
CIE-LABlab(70.19, -41.90, 65.11)
CIE-LCHlch(70.19, 77.43, 122.77°)
OKLaboklab(72.89% -0.1198 0.1424)
OKLCHoklch(72.89% 0.186 130.1)
XYZxyz(27.2244, 41.0161, 7.9211)
Luminance0.4102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBD21 #5F21BD
analogous
#BDAD21 #7FBD21 #31BD21
triadic
#7FBD21 #217FBD #BD217F
tetradic
#7FBD21 #21BDAD #5F21BD #BD2131
square
#7FBD21 #21BDAD #5F21BD #BD2131
split-complementary
#7FBD21 #2131BD #AD21BD
monochromatic
#39550F #5C8918 #7FBD21 #9EDD3E #B8E672

Accessibility & contrast

On white

2.28
#7FBD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#7FBD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBD21
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBD21#FFFFFF#000000##000000
##7FBD211.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#82B5A1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #7fbd21;
/* rgb */ color: rgb(127, 189, 33);
/* oklch */ color: oklch(72.9% 0.186 130.1);
Tailwind
colors: {
  custom: {
    50: '#a9d16c',
    500: '#7fbd21',
    950: '#000000',
  },
}
SCSS
$custom: #7fbd21;
$custom-light: #a9d16c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbd21",
  "rgb": {
    "r": 127,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 83.846,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72893,
    "c": 0.18606,
    "h": 130.1
  },
  "luminance": 0.41017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FBD21

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

Preview Lab → · Contrast checker → · Palette generator →

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