#7F9922#7F9922

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

Color values

HEX#7F9922
RGBrgb(127, 153, 34)
HSLhsl(73, 64%, 37%)
HSVhsv(73, 78%, 60%)
CMYKcmyk(17%, 0%, 77.8%, 40%)
CIE-LABlab(59.35, -25.27, 54.98)
CIE-LCHlch(59.35, 60.51, 114.68°)
OKLaboklab(64.1% -0.0746 0.1211)
OKLCHoklch(64.1% 0.142 121.6)
XYZxyz(20.4327, 27.4100, 5.7273)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9922 #3C2299
analogous
#997822 #7F9922 #449922
triadic
#7F9922 #227F99 #99227F
tetradic
#7F9922 #229978 #3C2299 #992244
square
#7F9922 #229978 #3C2299 #992244
split-complementary
#7F9922 #224499 #782299
monochromatic
#2C350C #556717 #7F9922 #A9CB2D #BFDB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9922#FFFFFF#000000##000000
##7F99221.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)
#A38F02
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#869183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9922;
/* rgb */ color: rgb(127, 153, 34);
/* oklch */ color: oklch(64.1% 0.142 121.6);
Tailwind
colors: {
  custom: {
    50: '#a8b767',
    500: '#7f9922',
    950: '#000000',
  },
}
SCSS
$custom: #7f9922;
$custom-light: #a8b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9922",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 73.109,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.14222,
    "h": 121.6
  },
  "luminance": 0.2741
}

Semantic roles & 50–950 ramp

primary
#7F9922
secondary
#6E58BF
accent
#41E765
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9922

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

Preview Lab → · Contrast checker → · Palette generator →

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