#7FBF2C#7FBF2C

#7FBF2C is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.4% C 0.183 H 130.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7FBF2C
RGBrgb(127, 191, 44)
HSLhsl(86, 63%, 46%)
HSVhsv(86, 77%, 75%)
CMYKcmyk(33.5%, 0%, 77%, 25.1%)
CIE-LABlab(70.84, -42.26, 62.56)
CIE-LCHlch(70.84, 75.49, 124.04°)
OKLaboklab(73.44% -0.1201 0.1387)
OKLCHoklch(73.44% 0.183 130.9)
XYZxyz(27.8376, 41.9545, 9.0137)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBF2C #6C2CBF
analogous
#BFB52C #7FBF2C #36BF2C
triadic
#7FBF2C #2C7FBF #BF2C7F
tetradic
#7FBF2C #2CBFB5 #6C2CBF #BF2C36
square
#7FBF2C #2CBFB5 #6C2CBF #BF2C36
split-complementary
#7FBF2C #2C36BF #B52CBF
monochromatic
#3D5C15 #5E8D21 #7FBF2C #9DD751 #B9E283

Accessibility & contrast

On white

2.24
#7FBF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#7FBF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBF2C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBF2C#FFFFFF#000000##000000
##7FBF2C1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B002
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#82B7A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7fbf2c;
/* rgb */ color: rgb(127, 191, 44);
/* oklch */ color: oklch(73.4% 0.183 130.9);
Tailwind
colors: {
  custom: {
    50: '#a9d271',
    500: '#7fbf2c',
    950: '#000000',
  },
}
SCSS
$custom: #7fbf2c;
$custom-light: #a9d271;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbf2c",
  "rgb": {
    "r": 127,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 86.122,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73441,
    "c": 0.18343,
    "h": 130.9
  },
  "luminance": 0.41955
}

Semantic roles & 50–950 ramp

primary
#7FBF2C
secondary
#9E7BCC
accent
#42E689
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7FBF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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