#7FB72C#7FB72C

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

Color values

HEX#7FB72C
RGBrgb(127, 183, 44)
HSLhsl(84, 61%, 45%)
HSVhsv(84, 76%, 72%)
CMYKcmyk(30.6%, 0%, 76%, 28.2%)
CIE-LABlab(68.43, -38.77, 60.27)
CIE-LCHlch(68.43, 71.66, 122.75°)
OKLaboklab(71.48% -0.1106 0.1339)
OKLCHoklch(71.48% 0.174 129.6)
XYZxyz(26.1404, 38.5601, 8.4480)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB72C #642CB7
analogous
#B7AA2C #7FB72C #39B72C
triadic
#7FB72C #2C7FB7 #B72C7F
tetradic
#7FB72C #2CB7AA #642CB7 #B72C39
square
#7FB72C #2CB7AA #642CB7 #B72C39
split-complementary
#7FB72C #2C39B7 #AA2CB7
monochromatic
#3B5414 #5D8620 #7FB72C #9DD44C #B8E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB72C#FFFFFF#000000##000000
##7FB72C1.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)
#C0A90A
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#83AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fb72c;
/* rgb */ color: rgb(127, 183, 44);
/* oklch */ color: oklch(71.5% 0.174 129.6);
Tailwind
colors: {
  custom: {
    50: '#a9cd70',
    500: '#7fb72c',
    950: '#000000',
  },
}
SCSS
$custom: #7fb72c;
$custom-light: #a9cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb72c",
  "rgb": {
    "r": 127,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 84.173,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.17365,
    "h": 129.6
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

primary
#7FB72C
secondary
#9776C8
accent
#43E484
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB72C

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

Preview Lab → · Contrast checker → · Palette generator →

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