#7FB254#7FB254

#7FB254 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.6% C 0.136 H 132.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7FB254
RGBrgb(127, 178, 84)
HSLhsl(93, 38%, 51%)
HSVhsv(93, 53%, 70%)
CMYKcmyk(28.7%, 0%, 52.8%, 30.2%)
CIE-LABlab(67.27, -33.22, 42.29)
CIE-LCHlch(67.27, 53.78, 128.15°)
OKLaboklab(70.65% -0.0922 0.1006)
OKLCHoklch(70.65% 0.136 132.5)
XYZxyz(26.2726, 36.9921, 14.1417)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB254 #8754B2
analogous
#AEB254 #7FB254 #54B258
triadic
#7FB254 #547FB2 #B2547F
tetradic
#7FB254 #54AEB2 #8754B2 #B25854
square
#7FB254 #54AEB2 #8754B2 #B25854
split-complementary
#7FB254 #5854B2 #B254AE
monochromatic
#44602B #618A3E #7FB254 #9FC57E #BED8A8

Accessibility & contrast

On white

2.50
#7FB254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7FB254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB254
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB254#FFFFFF#000000##000000
##7FB2541.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A64B
Deuteranopia (green-blind)
#B1A25A
Tritanopia (blue-blind)
#80AC9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb254;
/* rgb */ color: rgb(127, 178, 84);
/* oklch */ color: oklch(70.6% 0.136 132.5);
Tailwind
colors: {
  custom: {
    50: '#a7c986',
    500: '#7fb254',
    950: '#000000',
  },
}
SCSS
$custom: #7fb254;
$custom-light: #a7c986;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb254",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 92.553,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70645,
    "c": 0.13642,
    "h": 132.5
  },
  "luminance": 0.36993
}

Semantic roles & 50–950 ramp

primary
#7FB254
secondary
#B39CC6
accent
#5ACE99
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB254

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

Preview Lab → · Contrast checker → · Palette generator →

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