#7FB952#7FB952

#7FB952 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.3% C 0.148 H 133.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7FB952
RGBrgb(127, 185, 82)
HSLhsl(94, 42%, 52%)
HSVhsv(94, 56%, 73%)
CMYKcmyk(31.4%, 0%, 55.7%, 27.5%)
CIE-LABlab(69.34, -36.65, 45.69)
CIE-LCHlch(69.34, 58.57, 128.73°)
OKLaboklab(72.32% -0.1018 0.1078)
OKLCHoklch(72.32% 0.148 133.4)
XYZxyz(27.6239, 39.8182, 14.2112)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB952 #8C52B9
analogous
#B3B952 #7FB952 #52B958
triadic
#7FB952 #527FB9 #B9527F
tetradic
#7FB952 #52B3B9 #8C52B9 #B95852
square
#7FB952 #52B3B9 #8C52B9 #B95852
split-complementary
#7FB952 #5852B9 #B952B3
monochromatic
#44672A #61933B #7FB952 #9FCB7E #BFDCA9

Accessibility & contrast

On white

2.34
#7FB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#7FB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB952
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB952#FFFFFF#000000##000000
##7FB9521.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC48
Deuteranopia (green-blind)
#B7A859
Tritanopia (blue-blind)
#80B2A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb952;
/* rgb */ color: rgb(127, 185, 82);
/* oklch */ color: oklch(72.3% 0.148 133.4);
Tailwind
colors: {
  custom: {
    50: '#a7ce86',
    500: '#7fb952',
    950: '#000000',
  },
}
SCSS
$custom: #7fb952;
$custom-light: #a7ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb952",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 93.786,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72316,
    "c": 0.14826,
    "h": 133.4
  },
  "luminance": 0.39819
}

Semantic roles & 50–950 ramp

primary
#7FB952
secondary
#B69DCA
accent
#56D29C
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB952

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

Preview Lab → · Contrast checker → · Palette generator →

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