#7FAE2B#7FAE2B

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

Color values

HEX#7FAE2B
RGBrgb(127, 174, 43)
HSLhsl(82, 60%, 43%)
HSVhsv(82, 75%, 68%)
CMYKcmyk(27%, 0%, 75.3%, 31.8%)
CIE-LABlab(65.72, -34.78, 58.00)
CIE-LCHlch(65.72, 67.63, 120.95°)
OKLaboklab(69.27% -0.0998 0.129)
OKLCHoklch(69.27% 0.163 127.7)
XYZxyz(24.3245, 34.9580, 7.7510)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAE2B #5A2BAE
analogous
#AE9C2B #7FAE2B #3DAE2B
triadic
#7FAE2B #2B7FAE #AE2B7F
tetradic
#7FAE2B #2BAE9C #5A2BAE #AE2B3D
square
#7FAE2B #2BAE9C #5A2BAE #AE2B3D
split-complementary
#7FAE2B #2B3DAE #9C2BAE
monochromatic
#374C13 #5B7D1F #7FAE2B #9FD145 #B8DD76

Accessibility & contrast

On white

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

On black

7.99
#7FAE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAE2B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAE2B#FFFFFF#000000##000000
##7FAE2B1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fae2b;
/* rgb */ color: rgb(127, 174, 43);
/* oklch */ color: oklch(69.3% 0.163 127.7);
Tailwind
colors: {
  custom: {
    50: '#a8c66e',
    500: '#7fae2b',
    950: '#000000',
  },
}
SCSS
$custom: #7fae2b;
$custom-light: #a8c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fae2b",
  "rgb": {
    "r": 127,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 81.527,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69268,
    "c": 0.16308,
    "h": 127.7
  },
  "luminance": 0.34959
}

Semantic roles & 50–950 ramp

primary
#7FAE2B
secondary
#8E70C5
accent
#44E47D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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