#7F9720#7F9720

#7F9720 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.6% C 0.141 H 120.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7F9720
RGBrgb(127, 151, 32)
HSLhsl(72, 65%, 36%)
HSVhsv(72, 79%, 59%)
CMYKcmyk(15.9%, 0%, 78.8%, 40.8%)
CIE-LABlab(58.74, -24.37, 55.06)
CIE-LCHlch(58.74, 60.21, 113.88°)
OKLaboklab(63.6% -0.0723 0.1209)
OKLCHoklch(63.6% 0.141 120.9)
XYZxyz(20.0801, 26.7496, 5.4716)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9720 #382097
analogous
#977320 #7F9720 #439720
triadic
#7F9720 #207F97 #97207F
tetradic
#7F9720 #209773 #382097 #972043
square
#7F9720 #209773 #382097 #972043
split-complementary
#7F9720 #204397 #732097
monochromatic
#2A320B #556415 #7F9720 #A9C92B #C0DB56

Accessibility & contrast

On white

3.31
#7F9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7F9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9720
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9720#FFFFFF#000000##000000
##7F97201.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#868F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f9720;
/* rgb */ color: rgb(127, 151, 32);
/* oklch */ color: oklch(63.6% 0.141 120.9);
Tailwind
colors: {
  custom: {
    50: '#a8b566',
    500: '#7f9720',
    950: '#000000',
  },
}
SCSS
$custom: #7f9720;
$custom-light: #a8b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9720",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 72.101,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63603,
    "c": 0.14088,
    "h": 120.9
  },
  "luminance": 0.2675
}

Semantic roles & 50–950 ramp

primary
#7F9720
secondary
#6954BF
accent
#40E862
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9720

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

Preview Lab → · Contrast checker → · Palette generator →

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