#7E9322#7E9322

#7E9322 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.6% C 0.135 H 119.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7E9322
RGBrgb(126, 147, 34)
HSLhsl(71, 62%, 35%)
HSVhsv(71, 77%, 58%)
CMYKcmyk(14.3%, 0%, 76.9%, 42.4%)
CIE-LABlab(57.48, -22.71, 53.21)
CIE-LCHlch(57.48, 57.85, 113.11°)
OKLaboklab(62.57% -0.0675 0.1174)
OKLCHoklch(62.57% 0.135 119.9)
XYZxyz(19.3270, 25.4186, 5.4012)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9322 #372293
analogous
#936F22 #7E9322 #469322
triadic
#7E9322 #227E93 #93227E
tetradic
#7E9322 #22936F #372293 #932246
square
#7E9322 #22936F #372293 #932246
split-complementary
#7E9322 #224693 #6F2293
monochromatic
#29300B #536117 #7E9322 #A9C52D #C0D857

Accessibility & contrast

On white

3.45
#7E9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7E9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9322
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9322#FFFFFF#000000##000000
##7E93221.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A07
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#868B7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9322;
/* rgb */ color: rgb(126, 147, 34);
/* oklch */ color: oklch(62.6% 0.135 119.9);
Tailwind
colors: {
  custom: {
    50: '#a7b267',
    500: '#7e9322',
    950: '#000000',
  },
}
SCSS
$custom: #7e9322;
$custom-light: #a7b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9322",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 71.15,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62571,
    "c": 0.1354,
    "h": 119.9
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#7E9322
secondary
#6855BC
accent
#42E561
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9322

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

Preview Lab → · Contrast checker → · Palette generator →

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