#7FBF2F#7FBF2F

#7FBF2F is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.5% C 0.182 H 131.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7FBF2F
RGBrgb(127, 191, 47)
HSLhsl(87, 61%, 47%)
HSVhsv(87, 75%, 75%)
CMYKcmyk(33.5%, 0%, 75.4%, 25.1%)
CIE-LABlab(70.86, -42.10, 61.60)
CIE-LCHlch(70.86, 74.61, 124.35°)
OKLaboklab(73.46% -0.1194 0.1371)
OKLCHoklch(73.46% 0.182 131.1)
XYZxyz(27.8961, 41.9779, 9.3215)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBF2F #6F2FBF
analogous
#BFB72F #7FBF2F #37BF2F
triadic
#7FBF2F #2F7FBF #BF2F7F
tetradic
#7FBF2F #2FBFB7 #6F2FBF #BF2F37
square
#7FBF2F #2FBFB7 #6F2FBF #BF2F37
split-complementary
#7FBF2F #2F37BF #B72FBF
monochromatic
#3E5D17 #5E8E23 #7FBF2F #9DD556 #B9E187

Accessibility & contrast

On white

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

On black

9.40
#7FBF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBF2F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBF2F#FFFFFF#000000##000000
##7FBF2F1.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fbf2f;
/* rgb */ color: rgb(127, 191, 47);
/* oklch */ color: oklch(73.5% 0.182 131.1);
Tailwind
colors: {
  custom: {
    50: '#a9d272',
    500: '#7fbf2f',
    950: '#000000',
  },
}
SCSS
$custom: #7fbf2f;
$custom-light: #a9d272;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbf2f",
  "rgb": {
    "r": 127,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 86.667,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73459,
    "c": 0.18184,
    "h": 131.1
  },
  "luminance": 0.41979
}

Semantic roles & 50–950 ramp

primary
#7FBF2F
secondary
#A17FCB
accent
#44E48B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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