#7FB72B#7FB72B

#7FB72B is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.5% C 0.174 H 129.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7FB72B
RGBrgb(127, 183, 43)
HSLhsl(84, 62%, 44%)
HSVhsv(84, 77%, 72%)
CMYKcmyk(30.6%, 0%, 76.5%, 28.2%)
CIE-LABlab(68.43, -38.82, 60.59)
CIE-LCHlch(68.43, 71.96, 122.65°)
OKLaboklab(71.47% -0.1108 0.1344)
OKLCHoklch(71.47% 0.174 129.5)
XYZxyz(26.1218, 38.5526, 8.3502)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB72B #632BB7
analogous
#B7A92B #7FB72B #39B72B
triadic
#7FB72B #2B7FB7 #B72B7F
tetradic
#7FB72B #2BB7A9 #632BB7 #B72B39
square
#7FB72B #2BB7A9 #632BB7 #B72B39
split-complementary
#7FB72B #2B39B7 #A92BB7
monochromatic
#3A5414 #5D851F #7FB72B #9DD54B #B8E07C

Accessibility & contrast

On white

2.41
#7FB72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#7FB72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB72B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB72B#FFFFFF#000000##000000
##7FB72B1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A906
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#83AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fb72b;
/* rgb */ color: rgb(127, 183, 43);
/* oklch */ color: oklch(71.5% 0.174 129.5);
Tailwind
colors: {
  custom: {
    50: '#a9cd6f',
    500: '#7fb72b',
    950: '#000000',
  },
}
SCSS
$custom: #7fb72b;
$custom-light: #a9cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb72b",
  "rgb": {
    "r": 127,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 84,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71472,
    "c": 0.17419,
    "h": 129.5
  },
  "luminance": 0.38553
}

Semantic roles & 50–950 ramp

primary
#7FB72B
secondary
#9775C9
accent
#43E584
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB72B

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

Preview Lab → · Contrast checker → · Palette generator →

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