#7E9922#7E9922

#7E9922 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.143 H 122.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7E9922
RGBrgb(126, 153, 34)
HSLhsl(74, 64%, 37%)
HSVhsv(74, 78%, 60%)
CMYKcmyk(17.6%, 0%, 77.8%, 40%)
CIE-LABlab(59.28, -25.69, 54.89)
CIE-LCHlch(59.28, 60.61, 115.08°)
OKLaboklab(64.02% -0.0757 0.1209)
OKLCHoklch(64.02% 0.143 122)
XYZxyz(20.2845, 27.3335, 5.7203)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9922 #3D2299
analogous
#997922 #7E9922 #439922
triadic
#7E9922 #227E99 #99227E
tetradic
#7E9922 #229979 #3D2299 #992243
square
#7E9922 #229979 #3D2299 #992243
split-complementary
#7E9922 #224399 #792299
monochromatic
#2C350C #556717 #7E9922 #A7CB2D #BEDB5B

Accessibility & contrast

On white

3.25
#7E9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7E9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9922
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9922#FFFFFF#000000##000000
##7E99221.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F02
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#859183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9922;
/* rgb */ color: rgb(126, 153, 34);
/* oklch */ color: oklch(64.0% 0.143 122.0);
Tailwind
colors: {
  custom: {
    50: '#a7b767',
    500: '#7e9922',
    950: '#000000',
  },
}
SCSS
$custom: #7e9922;
$custom-light: #a7b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9922",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 73.613,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.14267,
    "h": 122
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#7E9922
secondary
#6F58BF
accent
#41E767
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9922

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

Preview Lab → · Contrast checker → · Palette generator →

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