#7FBF2D#7FBF2D

#7FBF2D 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#7FBF2D
RGBrgb(127, 191, 45)
HSLhsl(86, 62%, 46%)
HSVhsv(86, 76%, 75%)
CMYKcmyk(33.5%, 0%, 76.4%, 25.1%)
CIE-LABlab(70.84, -42.21, 62.25)
CIE-LCHlch(70.84, 75.21, 124.14°)
OKLaboklab(73.45% -0.1199 0.1382)
OKLCHoklch(73.45% 0.183 130.9)
XYZxyz(27.8566, 41.9621, 9.1139)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBF2D #6D2DBF
analogous
#BFB62D #7FBF2D #36BF2D
triadic
#7FBF2D #2D7FBF #BF2D7F
tetradic
#7FBF2D #2DBFB6 #6D2DBF #BF2D36
square
#7FBF2D #2DBFB6 #6D2DBF #BF2D36
split-complementary
#7FBF2D #2D36BF #B62DBF
monochromatic
#3D5C16 #5E8D21 #7FBF2D #9DD653 #B9E284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FBF2D#FFFFFF#000000##000000
##7FBF2D1.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)
#C8B006
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#82B7A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7fbf2d;
/* rgb */ color: rgb(127, 191, 45);
/* oklch */ color: oklch(73.4% 0.183 130.9);
Tailwind
colors: {
  custom: {
    50: '#a9d271',
    500: '#7fbf2d',
    950: '#000000',
  },
}
SCSS
$custom: #7fbf2d;
$custom-light: #a9d271;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbf2d",
  "rgb": {
    "r": 127,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 86.301,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73447,
    "c": 0.18291,
    "h": 130.9
  },
  "luminance": 0.41963
}

Semantic roles & 50–950 ramp

primary
#7FBF2D
secondary
#9F7CCB
accent
#43E58A
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7FBF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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