#7F9920#7F9920

#7F9920 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.143 H 121.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F9920
RGBrgb(127, 153, 32)
HSLhsl(73, 65%, 36%)
HSVhsv(73, 79%, 60%)
CMYKcmyk(17%, 0%, 79.1%, 40%)
CIE-LABlab(59.34, -25.36, 55.61)
CIE-LCHlch(59.34, 61.12, 114.51°)
OKLaboklab(64.09% -0.075 0.1221)
OKLCHoklch(64.09% 0.143 121.6)
XYZxyz(20.4047, 27.3988, 5.5798)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9920 #3A2099
analogous
#997720 #7F9920 #439920
triadic
#7F9920 #207F99 #99207F
tetradic
#7F9920 #209977 #3A2099 #992043
square
#7F9920 #209977 #3A2099 #992043
split-complementary
#7F9920 #204399 #772099
monochromatic
#2B340B #556615 #7F9920 #A9CC2B #BFDC57

Accessibility & contrast

On white

3.24
#7F9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7F9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9920
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9920#FFFFFF#000000##000000
##7F99201.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9F8F2C
Tritanopia (blue-blind)
#869183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9920;
/* rgb */ color: rgb(127, 153, 32);
/* oklch */ color: oklch(64.1% 0.143 121.6);
Tailwind
colors: {
  custom: {
    50: '#a8b766',
    500: '#7f9920',
    950: '#000000',
  },
}
SCSS
$custom: #7f9920;
$custom-light: #a8b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9920",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 72.893,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.14328,
    "h": 121.6
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#7F9920
secondary
#6C55C0
accent
#3FE864
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9920

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

Preview Lab → · Contrast checker → · Palette generator →

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