#7FB948#7FB948

#7FB948 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.2% C 0.157 H 132.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7FB948
RGBrgb(127, 185, 72)
HSLhsl(91, 45%, 50%)
HSVhsv(91, 61%, 73%)
CMYKcmyk(31.4%, 0%, 61.1%, 27.5%)
CIE-LABlab(69.24, -37.63, 50.15)
CIE-LCHlch(69.24, 62.70, 126.88°)
OKLaboklab(72.2% -0.1053 0.1164)
OKLCHoklch(72.2% 0.157 132.1)
XYZxyz(27.2707, 39.6769, 12.3512)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB948 #8248B9
analogous
#B8B948 #7FB948 #48B949
triadic
#7FB948 #487FB9 #B9487F
tetradic
#7FB948 #48B8B9 #8248B9 #B94948
square
#7FB948 #48B8B9 #8248B9 #B94948
split-complementary
#7FB948 #4948B9 #B948B8
monochromatic
#436125 #618E36 #7FB948 #9ECA74 #BDDBA1

Accessibility & contrast

On white

2.35
#7FB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#7FB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB948
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB948#FFFFFF#000000##000000
##7FB9481.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3B
Deuteranopia (green-blind)
#B8A750
Tritanopia (blue-blind)
#80B2A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb948;
/* rgb */ color: rgb(127, 185, 72);
/* oklch */ color: oklch(72.2% 0.157 132.1);
Tailwind
colors: {
  custom: {
    50: '#a8ce7f',
    500: '#7fb948',
    950: '#000000',
  },
}
SCSS
$custom: #7fb948;
$custom-light: #a8ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb948",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 90.796,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72201,
    "c": 0.15693,
    "h": 132.1
  },
  "luminance": 0.39678
}

Semantic roles & 50–950 ramp

primary
#7FB948
secondary
#AF95C8
accent
#53D496
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB948

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

Preview Lab → · Contrast checker → · Palette generator →

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