#7FAE2F#7FAE2F

#7FAE2F is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.3% C 0.161 H 128.0°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7FAE2F
RGBrgb(127, 174, 47)
HSLhsl(82, 57%, 43%)
HSVhsv(82, 73%, 68%)
CMYKcmyk(27%, 0%, 73%, 31.8%)
CIE-LABlab(65.74, -34.55, 56.62)
CIE-LCHlch(65.74, 66.33, 121.39°)
OKLaboklab(69.3% -0.0989 0.1267)
OKLCHoklch(69.3% 0.161 128)
XYZxyz(24.4015, 34.9888, 8.1567)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAE2F #5E2FAE
analogous
#AE9D2F #7FAE2F #3FAE2F
triadic
#7FAE2F #2F7FAE #AE2F7F
tetradic
#7FAE2F #2FAE9D #5E2FAE #AE2F3F
square
#7FAE2F #2FAE9D #5E2FAE #AE2F3F
split-complementary
#7FAE2F #2F3FAE #9D2FAE
monochromatic
#394E15 #5C7E22 #7FAE2F #9ECF4C #B8DC7C

Accessibility & contrast

On white

2.63
#7FAE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#7FAE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAE2F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAE2F#FFFFFF#000000##000000
##7FAE2F1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#84A695
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fae2f;
/* rgb */ color: rgb(127, 174, 47);
/* oklch */ color: oklch(69.3% 0.161 128.0);
Tailwind
colors: {
  custom: {
    50: '#a8c670',
    500: '#7fae2f',
    950: '#000000',
  },
}
SCSS
$custom: #7fae2f;
$custom-light: #a8c670;
$custom-dark: #000000;
JSON
{
  "hex": "#7fae2f",
  "rgb": {
    "r": 127,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 82.205,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.16071,
    "h": 128
  },
  "luminance": 0.34989
}

Semantic roles & 50–950 ramp

primary
#7FAE2F
secondary
#9275C4
accent
#47E180
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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