#7FA822#7FA822

#7FA822 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.7% C 0.160 H 125.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7FA822
RGBrgb(127, 168, 34)
HSLhsl(78, 66%, 40%)
HSVhsv(78, 80%, 66%)
CMYKcmyk(24.4%, 0%, 79.8%, 34.1%)
CIE-LABlab(63.86, -32.46, 59.14)
CIE-LCHlch(63.86, 67.46, 118.76°)
OKLaboklab(67.75% -0.0942 0.1299)
OKLCHoklch(67.75% 0.16 125.9)
XYZxyz(23.0439, 32.6324, 6.5977)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA822 #4B22A8
analogous
#A88E22 #7FA822 #3CA822
triadic
#7FA822 #227FA8 #A8227F
tetradic
#7FA822 #22A88E #4B22A8 #A8223C
square
#7FA822 #22A88E #4B22A8 #A8223C
split-complementary
#7FA822 #223CA8 #8E22A8
monochromatic
#32420D #597518 #7FA822 #A3D532 #BAE065

Accessibility & contrast

On white

2.79
#7FA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7FA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA822
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA822#FFFFFF#000000##000000
##7FA8221.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#85A08F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa822;
/* rgb */ color: rgb(127, 168, 34);
/* oklch */ color: oklch(67.7% 0.160 125.9);
Tailwind
colors: {
  custom: {
    50: '#a8c269',
    500: '#7fa822',
    950: '#000000',
  },
}
SCSS
$custom: #7fa822;
$custom-light: #a8c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa822",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 78.358,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67749,
    "c": 0.16044,
    "h": 125.9
  },
  "luminance": 0.32633
}

Semantic roles & 50–950 ramp

primary
#7FA822
secondary
#7F61C5
accent
#3FE973
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA822

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

Preview Lab → · Contrast checker → · Palette generator →

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