#7FBF2B#7FBF2B

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

Color values

HEX#7FBF2B
RGBrgb(127, 191, 43)
HSLhsl(86, 63%, 46%)
HSVhsv(86, 77%, 75%)
CMYKcmyk(33.5%, 0%, 77.5%, 25.1%)
CIE-LABlab(70.83, -42.31, 62.87)
CIE-LCHlch(70.83, 75.78, 123.94°)
OKLaboklab(73.43% -0.1203 0.1392)
OKLCHoklch(73.43% 0.184 130.8)
XYZxyz(27.8190, 41.9470, 8.9159)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBF2B #6B2BBF
analogous
#BFB52B #7FBF2B #35BF2B
triadic
#7FBF2B #2B7FBF #BF2B7F
tetradic
#7FBF2B #2BBFB5 #6B2BBF #BF2B35
square
#7FBF2B #2BBFB5 #6B2BBF #BF2B35
split-complementary
#7FBF2B #2B35BF #B52BBF
monochromatic
#3D5B15 #5E8D20 #7FBF2B #9DD850 #B9E382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FBF2B#FFFFFF#000000##000000
##7FBF2B1.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)
#C8B000
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#82B7A3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7fbf2b;
/* rgb */ color: rgb(127, 191, 43);
/* oklch */ color: oklch(73.4% 0.184 130.8);
Tailwind
colors: {
  custom: {
    50: '#a9d270',
    500: '#7fbf2b',
    950: '#000000',
  },
}
SCSS
$custom: #7fbf2b;
$custom-light: #a9d270;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbf2b",
  "rgb": {
    "r": 127,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 85.946,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73435,
    "c": 0.18394,
    "h": 130.8
  },
  "luminance": 0.41948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FBF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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