#7FA720#7FA720

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

Color values

HEX#7FA720
RGBrgb(127, 167, 32)
HSLhsl(78, 68%, 39%)
HSVhsv(78, 81%, 65%)
CMYKcmyk(24%, 0%, 80.8%, 34.5%)
CIE-LABlab(63.55, -32.08, 59.44)
CIE-LCHlch(63.55, 67.54, 118.35°)
OKLaboklab(67.49% -0.0933 0.1302)
OKLCHoklch(67.49% 0.16 125.6)
XYZxyz(22.8320, 32.2534, 6.3889)
Luminance0.3225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA720 #4820A7
analogous
#A78C20 #7FA720 #3CA720
triadic
#7FA720 #207FA7 #A7207F
tetradic
#7FA720 #20A78C #4820A7 #A7203C
square
#7FA720 #20A78C #4820A7 #A7203C
split-complementary
#7FA720 #203CA7 #8C20A7
monochromatic
#31400C #587416 #7FA720 #A5D72D #BBE161

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA720#FFFFFF#000000##000000
##7FA7201.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)
#859F8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa720;
/* rgb */ color: rgb(127, 167, 32);
/* oklch */ color: oklch(67.5% 0.160 125.6);
Tailwind
colors: {
  custom: {
    50: '#a8c168',
    500: '#7fa720',
    950: '#000000',
  },
}
SCSS
$custom: #7fa720;
$custom-light: #a8c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa720",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 77.778,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67494,
    "c": 0.16018,
    "h": 125.6
  },
  "luminance": 0.32254
}

Semantic roles & 50–950 ramp

primary
#7FA720
secondary
#7C5DC5
accent
#3DEB71
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA720

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

Preview Lab → · Contrast checker → · Palette generator →

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