#7FAF33#7FAF33

#7FAF33 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.159 H 128.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7FAF33
RGBrgb(127, 175, 51)
HSLhsl(83, 55%, 44%)
HSVhsv(83, 71%, 69%)
CMYKcmyk(27.4%, 0%, 70.9%, 31.4%)
CIE-LABlab(66.07, -34.75, 55.47)
CIE-LCHlch(66.07, 65.45, 122.07°)
OKLaboklab(69.57% -0.0991 0.1249)
OKLCHoklch(69.57% 0.159 128.4)
XYZxyz(24.6799, 35.4104, 8.6659)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF33 #6333AF
analogous
#AFA133 #7FAF33 #41AF33
triadic
#7FAF33 #337FAF #AF337F
tetradic
#7FAF33 #33AFA1 #6333AF #AF3341
square
#7FAF33 #33AFA1 #6333AF #AF3341
split-complementary
#7FAF33 #3341AF #A133AF
monochromatic
#3A5017 #5D8025 #7FAF33 #9DCD52 #B8DB82

Accessibility & contrast

On white

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

On black

8.08
#7FAF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF33
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF33#FFFFFF#000000##000000
##7FAF331.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31F
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#83A797
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf33;
/* rgb */ color: rgb(127, 175, 51);
/* oklch */ color: oklch(69.6% 0.159 128.4);
Tailwind
colors: {
  custom: {
    50: '#a8c772',
    500: '#7faf33',
    950: '#000000',
  },
}
SCSS
$custom: #7faf33;
$custom-light: #a8c772;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf33",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 83.226,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69569,
    "c": 0.15943,
    "h": 128.4
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

primary
#7FAF33
secondary
#977AC4
accent
#4ADE83
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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