#7FB72D#7FB72D

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

Color values

HEX#7FB72D
RGBrgb(127, 183, 45)
HSLhsl(84, 61%, 45%)
HSVhsv(84, 75%, 72%)
CMYKcmyk(30.6%, 0%, 75.4%, 28.2%)
CIE-LABlab(68.44, -38.72, 59.94)
CIE-LCHlch(68.44, 71.36, 122.86°)
OKLaboklab(71.49% -0.1104 0.1333)
OKLCHoklch(71.49% 0.173 129.6)
XYZxyz(26.1594, 38.5677, 8.5482)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB72D #652DB7
analogous
#B7AA2D #7FB72D #3AB72D
triadic
#7FB72D #2D7FB7 #B72D7F
tetradic
#7FB72D #2DB7AA #652DB7 #B72D3A
square
#7FB72D #2DB7AA #652DB7 #B72D3A
split-complementary
#7FB72D #2D3AB7 #AA2DB7
monochromatic
#3B5515 #5D8621 #7FB72D #9DD34E #B8DF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB72D#FFFFFF#000000##000000
##7FB72D1.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)
#C0A90D
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#83AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fb72d;
/* rgb */ color: rgb(127, 183, 45);
/* oklch */ color: oklch(71.5% 0.173 129.6);
Tailwind
colors: {
  custom: {
    50: '#a9cd70',
    500: '#7fb72d',
    950: '#000000',
  },
}
SCSS
$custom: #7fb72d;
$custom-light: #a9cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb72d",
  "rgb": {
    "r": 127,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 84.348,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71485,
    "c": 0.17311,
    "h": 129.6
  },
  "luminance": 0.38568
}

Semantic roles & 50–950 ramp

primary
#7FB72D
secondary
#9878C8
accent
#44E485
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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