#7FBF52#7FBF52

#7FBF52 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 73.8% C 0.157 H 134.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7FBF52
RGBrgb(127, 191, 82)
HSLhsl(95, 46%, 54%)
HSVhsv(95, 57%, 75%)
CMYKcmyk(33.5%, 0%, 57.1%, 25.1%)
CIE-LABlab(71.13, -39.33, 47.77)
CIE-LCHlch(71.13, 61.88, 129.47°)
OKLaboklab(73.77% -0.1092 0.1123)
OKLCHoklch(73.77% 0.157 134.2)
XYZxyz(28.9056, 42.3817, 14.6385)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBF52 #9252BF
analogous
#B6BF52 #7FBF52 #52BF5B
triadic
#7FBF52 #527FBF #BF527F
tetradic
#7FBF52 #52B6BF #9252BF #BF5B52
square
#7FBF52 #52B6BF #9252BF #BF5B52
split-complementary
#7FBF52 #5B52BF #BF52B6
monochromatic
#456E29 #619B39 #7FBF52 #A0D07F #C1E0AB

Accessibility & contrast

On white

2.22
#7FBF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#7FBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBF52
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBF52#FFFFFF#000000##000000
##7FBF521.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B147
Deuteranopia (green-blind)
#BDAC5A
Tritanopia (blue-blind)
#7FB8A7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7fbf52;
/* rgb */ color: rgb(127, 191, 82);
/* oklch */ color: oklch(73.8% 0.157 134.2);
Tailwind
colors: {
  custom: {
    50: '#a8d286',
    500: '#7fbf52',
    950: '#000000',
  },
}
SCSS
$custom: #7fbf52;
$custom-light: #a8d286;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbf52",
  "rgb": {
    "r": 127,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 95.229,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.73774,
    "c": 0.15662,
    "h": 134.2
  },
  "luminance": 0.42383
}

Semantic roles & 50–950 ramp

primary
#7FBF52
secondary
#BA9FCE
accent
#52D69F
background
#FAFCF8
surface
#F4F9F0
border
#CED2CB
text
#10140B
muted
#7F827C

Preview Lab

Preview with #7FBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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