#7FB548#7FB548

#7FB548 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.2% C 0.151 H 131.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7FB548
RGBrgb(127, 181, 72)
HSLhsl(90, 43%, 50%)
HSVhsv(90, 60%, 71%)
CMYKcmyk(29.8%, 0%, 60.2%, 29%)
CIE-LABlab(68.04, -35.82, 48.81)
CIE-LCHlch(68.04, 60.54, 126.28°)
OKLaboklab(71.23% -0.1003 0.1135)
OKLCHoklch(71.23% 0.151 131.5)
XYZxyz(26.4457, 38.0268, 12.0762)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB548 #7E48B5
analogous
#B5B548 #7FB548 #48B548
triadic
#7FB548 #487FB5 #B5487F
tetradic
#7FB548 #48B5B5 #7E48B5 #B54848
square
#7FB548 #48B5B5 #7E48B5 #B54848
split-complementary
#7FB548 #4848B5 #B548B5
monochromatic
#425D25 #608937 #7FB548 #9DC773 #BCD99F

Accessibility & contrast

On white

2.44
#7FB548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#7FB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB548
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB548#FFFFFF#000000##000000
##7FB5481.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#B5A450
Tritanopia (blue-blind)
#81AE9E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb548;
/* rgb */ color: rgb(127, 181, 72);
/* oklch */ color: oklch(71.2% 0.151 131.5);
Tailwind
colors: {
  custom: {
    50: '#a7cb7f',
    500: '#7fb548',
    950: '#000000',
  },
}
SCSS
$custom: #7fb548;
$custom-light: #a7cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb548",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 89.725,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71228,
    "c": 0.15148,
    "h": 131.5
  },
  "luminance": 0.38028
}

Semantic roles & 50–950 ramp

primary
#7FB548
secondary
#AC93C5
accent
#55D393
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB548

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

Preview Lab → · Contrast checker → · Palette generator →

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