#7FAD2A#7FAD2A

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

Color values

HEX#7FAD2A
RGBrgb(127, 173, 42)
HSLhsl(81, 61%, 42%)
HSVhsv(81, 76%, 68%)
CMYKcmyk(26.6%, 0%, 75.7%, 32.2%)
CIE-LABlab(65.41, -34.37, 58.04)
CIE-LCHlch(65.41, 67.46, 120.63°)
OKLaboklab(69.02% -0.0988 0.1289)
OKLCHoklch(69.02% 0.162 127.5)
XYZxyz(24.1139, 34.5658, 7.5915)
Luminance0.3457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAD2A #582AAD
analogous
#AD9A2A #7FAD2A #3DAD2A
triadic
#7FAD2A #2A7FAD #AD2A7F
tetradic
#7FAD2A #2AAD9A #582AAD #AD2A3D
square
#7FAD2A #2AAD9A #582AAD #AD2A3D
split-complementary
#7FAD2A #2A3DAD #9A2AAD
monochromatic
#374B12 #5B7C1E #7FAD2A #9FD143 #B8DD74

Accessibility & contrast

On white

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

On black

7.91
#7FAD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAD2A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAD2A#FFFFFF#000000##000000
##7FAD2A1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fad2a;
/* rgb */ color: rgb(127, 173, 42);
/* oklch */ color: oklch(69.0% 0.162 127.5);
Tailwind
colors: {
  custom: {
    50: '#a8c56e',
    500: '#7fad2a',
    950: '#000000',
  },
}
SCSS
$custom: #7fad2a;
$custom-light: #a8c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fad2a",
  "rgb": {
    "r": 127,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 81.069,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69017,
    "c": 0.1624,
    "h": 127.5
  },
  "luminance": 0.34566
}

Semantic roles & 50–950 ramp

primary
#7FAD2A
secondary
#8D6EC5
accent
#44E47C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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