#7FAF24#7FAF24

#7FAF24 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.168 H 127.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7FAF24
RGBrgb(127, 175, 36)
HSLhsl(81, 66%, 41%)
HSVhsv(81, 79%, 69%)
CMYKcmyk(27.4%, 0%, 79.4%, 31.4%)
CIE-LABlab(65.98, -35.59, 60.48)
CIE-LCHlch(65.98, 70.17, 120.47°)
OKLaboklab(69.47% -0.1025 0.1331)
OKLCHoklch(69.47% 0.168 127.6)
XYZxyz(24.4009, 35.2988, 7.1965)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF24 #5424AF
analogous
#AF9A24 #7FAF24 #3AAF24
triadic
#7FAF24 #247FAF #AF247F
tetradic
#7FAF24 #24AF9A #5424AF #AF243A
square
#7FAF24 #24AF9A #5424AF #AF243A
split-complementary
#7FAF24 #243AAF #9A24AF
monochromatic
#35490F #5A7C1A #7FAF24 #A0D63A #B9E16D

Accessibility & contrast

On white

2.61
#7FAF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7FAF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF24
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF24#FFFFFF#000000##000000
##7FAF241.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B29F33
Tritanopia (blue-blind)
#84A795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf24;
/* rgb */ color: rgb(127, 175, 36);
/* oklch */ color: oklch(69.5% 0.168 127.6);
Tailwind
colors: {
  custom: {
    50: '#a8c76b',
    500: '#7faf24',
    950: '#000000',
  },
}
SCSS
$custom: #7faf24;
$custom-light: #a8c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf24",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 80.719,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69472,
    "c": 0.16798,
    "h": 127.6
  },
  "luminance": 0.35299
}

Semantic roles & 50–950 ramp

primary
#7FAF24
secondary
#8968C7
accent
#3FE97A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FAF24

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

Preview Lab → · Contrast checker → · Palette generator →

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