#7FAD2C#7FAD2C

#7FAD2C is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.0% C 0.161 H 127.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7FAD2C
RGBrgb(127, 173, 44)
HSLhsl(81, 59%, 43%)
HSVhsv(81, 75%, 68%)
CMYKcmyk(26.6%, 0%, 74.6%, 32.2%)
CIE-LABlab(65.42, -34.26, 57.37)
CIE-LCHlch(65.42, 66.82, 120.85°)
OKLaboklab(69.03% -0.0984 0.1278)
OKLCHoklch(69.03% 0.161 127.6)
XYZxyz(24.1506, 34.5805, 7.7847)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAD2C #5A2CAD
analogous
#AD9A2C #7FAD2C #3FAD2C
triadic
#7FAD2C #2C7FAD #AD2C7F
tetradic
#7FAD2C #2CAD9A #5A2CAD #AD2C3F
square
#7FAD2C #2CAD9A #5A2CAD #AD2C3F
split-complementary
#7FAD2C #2C3FAD #9A2CAD
monochromatic
#374B13 #5B7C20 #7FAD2C #9FD046 #B8DC77

Accessibility & contrast

On white

2.65
#7FAD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#7FAD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAD2C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAD2C#FFFFFF#000000##000000
##7FAD2C1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A111
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#84A594
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fad2c;
/* rgb */ color: rgb(127, 173, 44);
/* oklch */ color: oklch(69.0% 0.161 127.6);
Tailwind
colors: {
  custom: {
    50: '#a8c56f',
    500: '#7fad2c',
    950: '#000000',
  },
}
SCSS
$custom: #7fad2c;
$custom-light: #a8c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fad2c",
  "rgb": {
    "r": 127,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 81.395,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.16126,
    "h": 127.6
  },
  "luminance": 0.34581
}

Semantic roles & 50–950 ramp

primary
#7FAD2C
secondary
#8E71C4
accent
#45E37D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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