#7E9422#7E9422

#7E9422 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.8% C 0.137 H 120.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7E9422
RGBrgb(126, 148, 34)
HSLhsl(72, 63%, 36%)
HSVhsv(72, 77%, 58%)
CMYKcmyk(14.9%, 0%, 77%, 42%)
CIE-LABlab(57.78, -23.21, 53.49)
CIE-LCHlch(57.78, 58.31, 113.46°)
OKLaboklab(62.81% -0.0689 0.118)
OKLCHoklch(62.81% 0.137 120.3)
XYZxyz(19.4832, 25.7310, 5.4532)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9422 #382294
analogous
#947122 #7E9422 #459422
triadic
#7E9422 #227E94 #94227E
tetradic
#7E9422 #229471 #382294 #942245
square
#7E9422 #229471 #382294 #942245
split-complementary
#7E9422 #224594 #712294
monochromatic
#29300B #546217 #7E9422 #A8C62D #C0D958

Accessibility & contrast

On white

3.42
#7E9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7E9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9422
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9422#FFFFFF#000000##000000
##7E94221.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B06
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#858C7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e9422;
/* rgb */ color: rgb(126, 148, 34);
/* oklch */ color: oklch(62.8% 0.137 120.3);
Tailwind
colors: {
  custom: {
    50: '#a7b367',
    500: '#7e9422',
    950: '#000000',
  },
}
SCSS
$custom: #7e9422;
$custom-light: #a7b367;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9422",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 71.579,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.1366,
    "h": 120.3
  },
  "luminance": 0.25731
}

Semantic roles & 50–950 ramp

primary
#7E9422
secondary
#6955BD
accent
#42E662
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9422

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

Preview Lab → · Contrast checker → · Palette generator →

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