#7E9926#7E9926

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

Color values

HEX#7E9926
RGBrgb(126, 153, 38)
HSLhsl(74, 60%, 37%)
HSVhsv(74, 75%, 60%)
CMYKcmyk(17.6%, 0%, 75.2%, 40%)
CIE-LABlab(59.30, -25.49, 53.55)
CIE-LCHlch(59.30, 59.31, 115.45°)
OKLaboklab(64.05% -0.0748 0.1188)
OKLCHoklch(64.05% 0.14 122.2)
XYZxyz(20.3456, 27.3580, 6.0421)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9926 #412699
analogous
#997A26 #7E9926 #459926
triadic
#7E9926 #267E99 #99267E
tetradic
#7E9926 #26997A #412699 #992645
square
#7E9926 #26997A #412699 #992645
split-complementary
#7E9926 #264599 #7A2699
monochromatic
#2D370E #56681A #7E9926 #A6CA32 #BCD862

Accessibility & contrast

On white

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

On black

6.47
#7E9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9926
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9926#FFFFFF#000000##000000
##7E99261.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e9926;
/* rgb */ color: rgb(126, 153, 38);
/* oklch */ color: oklch(64.0% 0.140 122.2);
Tailwind
colors: {
  custom: {
    50: '#a7b769',
    500: '#7e9926',
    950: '#000000',
  },
}
SCSS
$custom: #7e9926;
$custom-light: #a7b769;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9926",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 74.087,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64049,
    "c": 0.14038,
    "h": 122.2
  },
  "luminance": 0.27358
}

Semantic roles & 50–950 ramp

primary
#7E9926
secondary
#745EBD
accent
#44E36A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9926

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

Preview Lab → · Contrast checker → · Palette generator →

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