#7FAD2F#7FAD2F

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

Color values

HEX#7FAD2F
RGBrgb(127, 173, 47)
HSLhsl(82, 57%, 43%)
HSVhsv(82, 73%, 68%)
CMYKcmyk(26.6%, 0%, 72.8%, 32.2%)
CIE-LABlab(65.44, -34.09, 56.32)
CIE-LCHlch(65.44, 65.83, 121.18°)
OKLaboklab(69.05% -0.0976 0.1261)
OKLCHoklch(69.05% 0.159 127.8)
XYZxyz(24.2091, 34.6039, 8.0925)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAD2F #5D2FAD
analogous
#AD9C2F #7FAD2F #40AD2F
triadic
#7FAD2F #2F7FAD #AD2F7F
tetradic
#7FAD2F #2FAD9C #5D2FAD #AD2F40
square
#7FAD2F #2FAD9C #5D2FAD #AD2F40
split-complementary
#7FAD2F #2F40AD #9C2FAD
monochromatic
#384D15 #5C7D22 #7FAD2F #9ECE4B #B8DB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAD2F#FFFFFF#000000##000000
##7FAD2F1.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)
#B6A118
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#84A595
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fad2f;
/* rgb */ color: rgb(127, 173, 47);
/* oklch */ color: oklch(69.1% 0.159 127.8);
Tailwind
colors: {
  custom: {
    50: '#a8c570',
    500: '#7fad2f',
    950: '#000000',
  },
}
SCSS
$custom: #7fad2f;
$custom-light: #a8c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7fad2f",
  "rgb": {
    "r": 127,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 81.905,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69051,
    "c": 0.15945,
    "h": 127.8
  },
  "luminance": 0.34604
}

Semantic roles & 50–950 ramp

primary
#7FAD2F
secondary
#9174C4
accent
#47E17F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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