#7FA721#7FA721

#7FA721 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.160 H 125.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7FA721
RGBrgb(127, 167, 33)
HSLhsl(78, 67%, 39%)
HSVhsv(78, 80%, 65%)
CMYKcmyk(24%, 0%, 80.2%, 34.5%)
CIE-LABlab(63.56, -32.04, 59.16)
CIE-LCHlch(63.56, 67.27, 118.44°)
OKLaboklab(67.5% -0.0931 0.1298)
OKLCHoklch(67.5% 0.16 125.7)
XYZxyz(22.8458, 32.2589, 6.4615)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA721 #4921A7
analogous
#A78C21 #7FA721 #3CA721
triadic
#7FA721 #217FA7 #A7217F
tetradic
#7FA721 #21A78C #4921A7 #A7213C
square
#7FA721 #21A78C #4921A7 #A7213C
split-complementary
#7FA721 #213CA7 #8C21A7
monochromatic
#31410D #587417 #7FA721 #A4D62F #BBE062

Accessibility & contrast

On white

2.82
#7FA721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7FA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA721
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA721#FFFFFF#000000##000000
##7FA7211.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#859F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa721;
/* rgb */ color: rgb(127, 167, 33);
/* oklch */ color: oklch(67.5% 0.160 125.7);
Tailwind
colors: {
  custom: {
    50: '#a8c169',
    500: '#7fa721',
    950: '#000000',
  },
}
SCSS
$custom: #7fa721;
$custom-light: #a8c169;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa721",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 77.91,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.1597,
    "h": 125.7
  },
  "luminance": 0.32259
}

Semantic roles & 50–950 ramp

primary
#7FA721
secondary
#7D5FC5
accent
#3EEA71
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA721

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

Preview Lab → · Contrast checker → · Palette generator →

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