#7E9A1A#7E9A1A

#7E9A1A is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.148 H 122.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7E9A1A
RGBrgb(126, 154, 26)
HSLhsl(73, 71%, 35%)
HSVhsv(73, 83%, 60%)
CMYKcmyk(18.2%, 0%, 83.1%, 39.6%)
CIE-LABlab(59.55, -26.52, 57.52)
CIE-LCHlch(59.55, 63.34, 114.76°)
OKLaboklab(64.22% -0.0785 0.1251)
OKLCHoklch(64.22% 0.148 122.1)
XYZxyz(20.3466, 27.6214, 5.2366)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A1A #361A9A
analogous
#9A761A #7E9A1A #3E9A1A
triadic
#7E9A1A #1A7E9A #9A1A7E
tetradic
#7E9A1A #1A9A76 #361A9A #9A1A3E
square
#7E9A1A #1A9A76 #361A9A #9A1A3E
split-complementary
#7E9A1A #1A3E9A #761A9A
monochromatic
#283108 #536611 #7E9A1A #A9CE23 #C1E14D

Accessibility & contrast

On white

3.22
#7E9A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7E9A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A1A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A1A#FFFFFF#000000##000000
##7E9A1A1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#859283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9a1a;
/* rgb */ color: rgb(126, 154, 26);
/* oklch */ color: oklch(64.2% 0.148 122.1);
Tailwind
colors: {
  custom: {
    50: '#a7b764',
    500: '#7e9a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a1a;
$custom-light: #a7b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a1a",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 26
  },
  "hsl": {
    "h": 73.125,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.14774,
    "h": 122.1
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#7E9A1A
secondary
#674DC3
accent
#3AEE61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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