#7E9E1A#7E9E1A

#7E9E1A is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.152 H 123.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7E9E1A
RGBrgb(126, 158, 26)
HSLhsl(75, 72%, 36%)
HSVhsv(75, 84%, 62%)
CMYKcmyk(20.3%, 0%, 83.5%, 38%)
CIE-LABlab(60.75, -28.46, 58.57)
CIE-LCHlch(60.75, 65.12, 115.92°)
OKLaboklab(65.2% -0.0838 0.1274)
OKLCHoklch(65.2% 0.153 123.3)
XYZxyz(21.0178, 28.9638, 5.4604)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E1A #3A1A9E
analogous
#9E7C1A #7E9E1A #3C9E1A
triadic
#7E9E1A #1A7E9E #9E1A7E
tetradic
#7E9E1A #1A9E7C #3A1A9E #9E1A3C
square
#7E9E1A #1A9E7C #3A1A9E #9E1A3C
split-complementary
#7E9E1A #1A3C9E #7C1A9E
monochromatic
#2A3509 #546911 #7E9E1A #A8D323 #BFE250

Accessibility & contrast

On white

3.09
#7E9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#7E9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E1A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E1A#FFFFFF#000000##000000
##7E9E1A1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#859687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e1a;
/* rgb */ color: rgb(126, 158, 26);
/* oklch */ color: oklch(65.2% 0.152 123.3);
Tailwind
colors: {
  custom: {
    50: '#a7ba65',
    500: '#7e9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e1a;
$custom-light: #a7ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e1a",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 74.545,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65199,
    "c": 0.1525,
    "h": 123.3
  },
  "luminance": 0.28964
}

Semantic roles & 50–950 ramp

primary
#7E9E1A
secondary
#6C4FC5
accent
#39EE65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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