#7F9926#7F9926

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

Color values

HEX#7F9926
RGBrgb(127, 153, 38)
HSLhsl(74, 60%, 37%)
HSVhsv(74, 75%, 60%)
CMYKcmyk(17%, 0%, 75.2%, 40%)
CIE-LABlab(59.37, -25.07, 53.64)
CIE-LCHlch(59.37, 59.21, 115.05°)
OKLaboklab(64.12% -0.0737 0.119)
OKLCHoklch(64.12% 0.14 121.8)
XYZxyz(20.4938, 27.4344, 6.0491)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9926 #402699
analogous
#997926 #7F9926 #469926
triadic
#7F9926 #267F99 #99267F
tetradic
#7F9926 #269979 #402699 #992646
square
#7F9926 #269979 #402699 #992646
split-complementary
#7F9926 #264699 #792699
monochromatic
#2E370E #56681A #7F9926 #A8CA32 #BDD862

Accessibility & contrast

On white

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

On black

6.49
#7F9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9926
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9926#FFFFFF#000000##000000
##7F99261.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f9926;
/* rgb */ color: rgb(127, 153, 38);
/* oklch */ color: oklch(64.1% 0.140 121.8);
Tailwind
colors: {
  custom: {
    50: '#a7b769',
    500: '#7f9926',
    950: '#000000',
  },
}
SCSS
$custom: #7f9926;
$custom-light: #a7b769;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9926",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 73.565,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64123,
    "c": 0.13993,
    "h": 121.8
  },
  "luminance": 0.27434
}

Semantic roles & 50–950 ramp

primary
#7F9926
secondary
#735EBD
accent
#44E368
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9926

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

Preview Lab → · Contrast checker → · Palette generator →

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