#7FAA2E#7FAA2E

#7FAA2E is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.3% C 0.156 H 127.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7FAA2E
RGBrgb(127, 170, 46)
HSLhsl(81, 57%, 42%)
HSVhsv(81, 73%, 67%)
CMYKcmyk(25.3%, 0%, 72.9%, 33.3%)
CIE-LABlab(64.53, -32.76, 55.79)
CIE-LCHlch(64.53, 64.70, 120.42°)
OKLaboklab(68.31% -0.0941 0.1248)
OKLCHoklch(68.31% 0.156 127)
XYZxyz(23.6203, 33.4583, 7.7979)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAA2E #592EAA
analogous
#AA972E #7FAA2E #41AA2E
triadic
#7FAA2E #2E7FAA #AA2E7F
tetradic
#7FAA2E #2EAA97 #592EAA #AA2E41
square
#7FAA2E #2EAA97 #592EAA #AA2E41
split-complementary
#7FAA2E #2E41AA #972EAA
monochromatic
#374A14 #5B7A21 #7FAA2E #9FCD48 #B8DA78

Accessibility & contrast

On white

2.73
#7FAA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#7FAA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAA2E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAA2E#FFFFFF#000000##000000
##7FAA2E1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E17
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#84A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7faa2e;
/* rgb */ color: rgb(127, 170, 46);
/* oklch */ color: oklch(68.3% 0.156 127.0);
Tailwind
colors: {
  custom: {
    50: '#a8c36f',
    500: '#7faa2e',
    950: '#000000',
  },
}
SCSS
$custom: #7faa2e;
$custom-light: #a8c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#7faa2e",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 80.806,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68312,
    "c": 0.15628,
    "h": 127
  },
  "luminance": 0.33459
}

Semantic roles & 50–950 ramp

primary
#7FAA2E
secondary
#8D71C3
accent
#47E17C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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