#7F9622#7F9622

#7F9622 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.4% C 0.139 H 120.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F9622
RGBrgb(127, 150, 34)
HSLhsl(72, 63%, 36%)
HSVhsv(72, 77%, 59%)
CMYKcmyk(15.3%, 0%, 77.3%, 41.2%)
CIE-LABlab(58.45, -23.78, 54.14)
CIE-LCHlch(58.45, 59.13, 113.71°)
OKLaboklab(63.37% -0.0705 0.1193)
OKLCHoklch(63.37% 0.139 120.6)
XYZxyz(19.9478, 26.4403, 5.5657)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9622 #392296
analogous
#967322 #7F9622 #459622
triadic
#7F9622 #227F96 #96227F
tetradic
#7F9622 #229673 #392296 #962245
square
#7F9622 #229673 #392296 #962245
split-complementary
#7F9622 #224596 #732296
monochromatic
#2B320B #556417 #7F9622 #A9C82D #C0D959

Accessibility & contrast

On white

3.34
#7F9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7F9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9622
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9622#FFFFFF#000000##000000
##7F96221.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#868E80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f9622;
/* rgb */ color: rgb(127, 150, 34);
/* oklch */ color: oklch(63.4% 0.139 120.6);
Tailwind
colors: {
  custom: {
    50: '#a7b467',
    500: '#7f9622',
    950: '#000000',
  },
}
SCSS
$custom: #7f9622;
$custom-light: #a7b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9622",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 71.897,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63373,
    "c": 0.13859,
    "h": 120.6
  },
  "luminance": 0.2644
}

Semantic roles & 50–950 ramp

primary
#7F9622
secondary
#6B56BE
accent
#42E662
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9622

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

Preview Lab → · Contrast checker → · Palette generator →

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