#7FAF32#7FAF32

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

Color values

HEX#7FAF32
RGBrgb(127, 175, 50)
HSLhsl(83, 56%, 44%)
HSVhsv(83, 71%, 69%)
CMYKcmyk(27.4%, 0%, 71.4%, 31.4%)
CIE-LABlab(66.06, -34.82, 55.84)
CIE-LCHlch(66.06, 65.80, 121.95°)
OKLaboklab(69.56% -0.0994 0.1255)
OKLCHoklch(69.56% 0.16 128.4)
XYZxyz(24.6581, 35.4017, 8.5511)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF32 #6232AF
analogous
#AFA132 #7FAF32 #41AF32
triadic
#7FAF32 #327FAF #AF327F
tetradic
#7FAF32 #32AFA1 #6232AF #AF3241
square
#7FAF32 #32AFA1 #6232AF #AF3241
split-complementary
#7FAF32 #3241AF #A132AF
monochromatic
#3A5017 #5C7F24 #7FAF32 #9ECD51 #B8DB81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAF32#FFFFFF#000000##000000
##7FAF321.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)
#B8A31D
Deuteranopia (green-blind)
#B1A03D
Tritanopia (blue-blind)
#83A796
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf32;
/* rgb */ color: rgb(127, 175, 50);
/* oklch */ color: oklch(69.6% 0.160 128.4);
Tailwind
colors: {
  custom: {
    50: '#a8c772',
    500: '#7faf32',
    950: '#000000',
  },
}
SCSS
$custom: #7faf32;
$custom-light: #a8c772;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf32",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 83.04,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.16008,
    "h": 128.4
  },
  "luminance": 0.35402
}

Semantic roles & 50–950 ramp

primary
#7FAF32
secondary
#9679C4
accent
#49DF83
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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