#7FAF20#7FAF20

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

Color values

HEX#7FAF20
RGBrgb(127, 175, 32)
HSLhsl(80, 69%, 41%)
HSVhsv(80, 82%, 69%)
CMYKcmyk(27.4%, 0%, 81.7%, 31.4%)
CIE-LABlab(65.96, -35.76, 61.61)
CIE-LCHlch(65.96, 71.23, 120.13°)
OKLaboklab(69.45% -0.1033 0.1348)
OKLCHoklch(69.45% 0.17 127.5)
XYZxyz(24.3432, 35.2757, 6.8926)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF20 #5020AF
analogous
#AF9720 #7FAF20 #37AF20
triadic
#7FAF20 #207FAF #AF207F
tetradic
#7FAF20 #20AF97 #5020AF #AF2037
square
#7FAF20 #20AF97 #5020AF #AF2037
split-complementary
#7FAF20 #2037AF #9720AF
monochromatic
#34480D #597B17 #7FAF20 #A2DA33 #B9E366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAF20#FFFFFF#000000##000000
##7FAF201.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)
#B29F30
Tritanopia (blue-blind)
#84A795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf20;
/* rgb */ color: rgb(127, 175, 32);
/* oklch */ color: oklch(69.5% 0.170 127.5);
Tailwind
colors: {
  custom: {
    50: '#a9c76a',
    500: '#7faf20',
    950: '#000000',
  },
}
SCSS
$custom: #7faf20;
$custom-light: #a9c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf20",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 32
  },
  "hsl": {
    "h": 80.14,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69452,
    "c": 0.16981,
    "h": 127.5
  },
  "luminance": 0.35276
}

Semantic roles & 50–950 ramp

primary
#7FAF20
secondary
#8562C8
accent
#3CEC77
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FAF20

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

Preview Lab → · Contrast checker → · Palette generator →

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