#7FB54B#7FB54B

#7FB54B is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.3% C 0.149 H 131.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7FB54B
RGBrgb(127, 181, 75)
HSLhsl(91, 42%, 50%)
HSVhsv(91, 59%, 71%)
CMYKcmyk(29.8%, 0%, 58.6%, 29%)
CIE-LABlab(68.07, -35.54, 47.48)
CIE-LCHlch(68.07, 59.30, 126.82°)
OKLaboklab(71.26% -0.0993 0.111)
OKLCHoklch(71.26% 0.149 131.8)
XYZxyz(26.5459, 38.0669, 12.6043)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB54B #814BB5
analogous
#B4B54B #7FB54B #4BB54C
triadic
#7FB54B #4B7FB5 #B54B7F
tetradic
#7FB54B #4BB4B5 #814BB5 #B54C4B
square
#7FB54B #4BB4B5 #814BB5 #B54C4B
split-complementary
#7FB54B #4C4BB5 #B54BB4
monochromatic
#425F27 #618A39 #7FB54B #9EC776 #BDD9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB54B#FFFFFF#000000##000000
##7FB54B1.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)
#BCA940
Deuteranopia (green-blind)
#B5A453
Tritanopia (blue-blind)
#81AE9E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb54b;
/* rgb */ color: rgb(127, 181, 75);
/* oklch */ color: oklch(71.3% 0.149 131.8);
Tailwind
colors: {
  custom: {
    50: '#a7cb81',
    500: '#7fb54b',
    950: '#000000',
  },
}
SCSS
$custom: #7fb54b;
$custom-light: #a7cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb54b",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 90.566,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71261,
    "c": 0.14891,
    "h": 131.8
  },
  "luminance": 0.38068
}

Semantic roles & 50–950 ramp

primary
#7FB54B
secondary
#AE96C6
accent
#56D295
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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