#7E9622#7E9622

#7E9622 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.139 H 121.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7E9622
RGBrgb(126, 150, 34)
HSLhsl(72, 63%, 36%)
HSVhsv(72, 77%, 59%)
CMYKcmyk(16%, 0%, 77.3%, 41.2%)
CIE-LABlab(58.38, -24.21, 54.05)
CIE-LCHlch(58.38, 59.22, 114.13°)
OKLaboklab(63.3% -0.0716 0.1192)
OKLCHoklch(63.3% 0.139 121)
XYZxyz(19.7996, 26.3638, 5.5587)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9622 #3A2296
analogous
#967422 #7E9622 #449622
triadic
#7E9622 #227E96 #96227E
tetradic
#7E9622 #229674 #3A2296 #962244
square
#7E9622 #229674 #3A2296 #962244
split-complementary
#7E9622 #224496 #742296
monochromatic
#2A320B #546417 #7E9622 #A8C82D #BFD959

Accessibility & contrast

On white

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

On black

6.27
#7E9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9622
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9622#FFFFFF#000000##000000
##7E96221.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#858E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9622;
/* rgb */ color: rgb(126, 150, 34);
/* oklch */ color: oklch(63.3% 0.139 121.0);
Tailwind
colors: {
  custom: {
    50: '#a7b467',
    500: '#7e9622',
    950: '#000000',
  },
}
SCSS
$custom: #7e9622;
$custom-light: #a7b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9622",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 72.414,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.13902,
    "h": 121
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#7E9622
secondary
#6C56BE
accent
#42E664
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9622

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

Preview Lab → · Contrast checker → · Palette generator →

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