#7E9617#7E9617

#7E9617 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.2% C 0.144 H 120.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7E9617
RGBrgb(126, 150, 23)
HSLhsl(71, 73%, 34%)
HSVhsv(71, 85%, 59%)
CMYKcmyk(16%, 0%, 84.7%, 41.2%)
CIE-LABlab(58.33, -24.66, 57.25)
CIE-LCHlch(58.33, 62.33, 113.31°)
OKLaboklab(63.24% -0.0736 0.1241)
OKLCHoklch(63.24% 0.144 120.7)
XYZxyz(19.6656, 26.3102, 4.8528)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9617 #2F1796
analogous
#966F17 #7E9617 #3F9617
triadic
#7E9617 #177E96 #96177E
tetradic
#7E9617 #17966F #2F1796 #96173F
square
#7E9617 #17966F #2F1796 #96173F
split-complementary
#7E9617 #173F96 #6F1796
monochromatic
#252C07 #51610F #7E9617 #ABCB1F #C5E245

Accessibility & contrast

On white

3.35
#7E9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#7E9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9617
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9617#FFFFFF#000000##000000
##7E96171.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9D8C25
Tritanopia (blue-blind)
#868E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9617;
/* rgb */ color: rgb(126, 150, 23);
/* oklch */ color: oklch(63.2% 0.144 120.7);
Tailwind
colors: {
  custom: {
    50: '#a7b462',
    500: '#7e9617',
    950: '#000000',
  },
}
SCSS
$custom: #7e9617;
$custom-light: #a7b462;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9617",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 71.339,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.14427,
    "h": 120.7
  },
  "luminance": 0.2631
}

Semantic roles & 50–950 ramp

primary
#7E9617
secondary
#5D45C3
accent
#38F05B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9617

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

Preview Lab → · Contrast checker → · Palette generator →

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