#7FAF29#7FAF29

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

Color values

HEX#7FAF29
RGBrgb(127, 175, 41)
HSLhsl(81, 62%, 42%)
HSVhsv(81, 77%, 69%)
CMYKcmyk(27.4%, 0%, 76.6%, 31.4%)
CIE-LABlab(66.01, -35.34, 58.94)
CIE-LCHlch(66.01, 68.73, 120.94°)
OKLaboklab(69.5% -0.1015 0.1306)
OKLCHoklch(69.5% 0.165 127.9)
XYZxyz(24.4826, 35.3315, 7.6272)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF29 #5929AF
analogous
#AF9C29 #7FAF29 #3CAF29
triadic
#7FAF29 #297FAF #AF297F
tetradic
#7FAF29 #29AF9C #5929AF #AF293C
square
#7FAF29 #29AF9C #5929AF #AF293C
split-complementary
#7FAF29 #293CAF #9C29AF
monochromatic
#374C12 #5B7D1D #7FAF29 #9FD342 #B8DE74

Accessibility & contrast

On white

2.60
#7FAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#7FAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF29
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF29#FFFFFF#000000##000000
##7FAF291.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A206
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#84A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf29;
/* rgb */ color: rgb(127, 175, 41);
/* oklch */ color: oklch(69.5% 0.165 127.9);
Tailwind
colors: {
  custom: {
    50: '#a8c76d',
    500: '#7faf29',
    950: '#000000',
  },
}
SCSS
$custom: #7faf29;
$custom-light: #a8c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf29",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 81.493,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.695,
    "c": 0.16542,
    "h": 127.9
  },
  "luminance": 0.35332
}

Semantic roles & 50–950 ramp

primary
#7FAF29
secondary
#8D6EC6
accent
#43E57D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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