#7FA722#7FA722

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

Color values

HEX#7FA722
RGBrgb(127, 167, 34)
HSLhsl(78, 66%, 39%)
HSVhsv(78, 80%, 65%)
CMYKcmyk(24%, 0%, 79.6%, 34.5%)
CIE-LABlab(63.56, -31.99, 58.86)
CIE-LCHlch(63.56, 66.99, 118.52°)
OKLaboklab(67.5% -0.0929 0.1293)
OKLCHoklch(67.5% 0.159 125.7)
XYZxyz(22.8600, 32.2646, 6.5364)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA722 #4A22A7
analogous
#A78D22 #7FA722 #3DA722
triadic
#7FA722 #227FA7 #A7227F
tetradic
#7FA722 #22A78D #4A22A7 #A7223D
square
#7FA722 #22A78D #4A22A7 #A7223D
split-complementary
#7FA722 #223DA7 #8D22A7
monochromatic
#32410D #587418 #7FA722 #A4D531 #BADF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA722#FFFFFF#000000##000000
##7FA7221.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)
#AB9930
Tritanopia (blue-blind)
#859F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa722;
/* rgb */ color: rgb(127, 167, 34);
/* oklch */ color: oklch(67.5% 0.159 125.7);
Tailwind
colors: {
  custom: {
    50: '#a8c169',
    500: '#7fa722',
    950: '#000000',
  },
}
SCSS
$custom: #7fa722;
$custom-light: #a8c169;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa722",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 78.045,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67504,
    "c": 0.15923,
    "h": 125.7
  },
  "luminance": 0.32265
}

Semantic roles & 50–950 ramp

primary
#7FA722
secondary
#7E60C5
accent
#3FE972
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA722

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

Preview Lab → · Contrast checker → · Palette generator →

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