#7E9722#7E9722

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

Color values

HEX#7E9722
RGBrgb(126, 151, 34)
HSLhsl(73, 63%, 36%)
HSVhsv(73, 77%, 59%)
CMYKcmyk(16.6%, 0%, 77.5%, 40.8%)
CIE-LABlab(58.68, -24.70, 54.33)
CIE-LCHlch(58.68, 59.68, 114.45°)
OKLaboklab(63.54% -0.073 0.1198)
OKLCHoklch(63.54% 0.14 121.4)
XYZxyz(19.9599, 26.6843, 5.6121)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9722 #3B2297
analogous
#977622 #7E9722 #449722
triadic
#7E9722 #227E97 #97227E
tetradic
#7E9722 #229776 #3B2297 #972244
square
#7E9722 #229776 #3B2297 #972244
split-complementary
#7E9722 #224497 #762297
monochromatic
#2B330C #546517 #7E9722 #A8C92D #BEDA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9722#FFFFFF#000000##000000
##7E97221.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)
#A18E04
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#858F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9722;
/* rgb */ color: rgb(126, 151, 34);
/* oklch */ color: oklch(63.5% 0.140 121.4);
Tailwind
colors: {
  custom: {
    50: '#a7b567',
    500: '#7e9722',
    950: '#000000',
  },
}
SCSS
$custom: #7e9722;
$custom-light: #a7b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9722",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 72.821,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63539,
    "c": 0.14023,
    "h": 121.4
  },
  "luminance": 0.26684
}

Semantic roles & 50–950 ramp

primary
#7E9722
secondary
#6D57BE
accent
#42E665
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9722

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

Preview Lab → · Contrast checker → · Palette generator →

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