#7E9726#7E9726

#7E9726 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.6% C 0.138 H 121.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7E9726
RGBrgb(126, 151, 38)
HSLhsl(73, 60%, 37%)
HSVhsv(73, 75%, 59%)
CMYKcmyk(16.6%, 0%, 74.8%, 40.8%)
CIE-LABlab(58.70, -24.50, 52.97)
CIE-LCHlch(58.70, 58.36, 114.82°)
OKLaboklab(63.56% -0.0721 0.1176)
OKLCHoklch(63.56% 0.138 121.5)
XYZxyz(20.0210, 26.7088, 5.9339)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9726 #3F2697
analogous
#977726 #7E9726 #469726
triadic
#7E9726 #267E97 #97267E
tetradic
#7E9726 #269777 #3F2697 #972646
square
#7E9726 #269777 #3F2697 #972646
split-complementary
#7E9726 #264697 #772697
monochromatic
#2C350D #55661A #7E9726 #A7C832 #BDD760

Accessibility & contrast

On white

3.31
#7E9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7E9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9726
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9726#FFFFFF#000000##000000
##7E97261.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0F
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#858F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9726;
/* rgb */ color: rgb(126, 151, 38);
/* oklch */ color: oklch(63.6% 0.138 121.5);
Tailwind
colors: {
  custom: {
    50: '#a7b569',
    500: '#7e9726',
    950: '#000000',
  },
}
SCSS
$custom: #7e9726;
$custom-light: #a7b569;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9726",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 73.274,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63564,
    "c": 0.13792,
    "h": 121.5
  },
  "luminance": 0.26709
}

Semantic roles & 50–950 ramp

primary
#7E9726
secondary
#725CBC
accent
#45E368
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9726

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

Preview Lab → · Contrast checker → · Palette generator →

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