#7E9B1A#7E9B1A

#7E9B1A is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.149 H 122.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E9B1A
RGBrgb(126, 155, 26)
HSLhsl(73, 71%, 35%)
HSVhsv(73, 83%, 61%)
CMYKcmyk(18.7%, 0%, 83.2%, 39.2%)
CIE-LABlab(59.85, -27.01, 57.78)
CIE-LCHlch(59.85, 63.78, 115.05°)
OKLaboklab(64.47% -0.0799 0.1257)
OKLCHoklch(64.47% 0.149 122.4)
XYZxyz(20.5123, 27.9528, 5.2919)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B1A #371A9B
analogous
#9B771A #7E9B1A #3E9B1A
triadic
#7E9B1A #1A7E9B #9B1A7E
tetradic
#7E9B1A #1A9B77 #371A9B #9B1A3E
square
#7E9B1A #1A9B77 #371A9B #9B1A3E
split-complementary
#7E9B1A #1A3E9B #771A9B
monochromatic
#293208 #536711 #7E9B1A #A9CF23 #C0E14E

Accessibility & contrast

On white

3.19
#7E9B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7E9B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9B1A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9B1A#FFFFFF#000000##000000
##7E9B1A1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#859384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9b1a;
/* rgb */ color: rgb(126, 155, 26);
/* oklch */ color: oklch(64.5% 0.149 122.4);
Tailwind
colors: {
  custom: {
    50: '#a7b864',
    500: '#7e9b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b1a;
$custom-light: #a7b864;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b1a",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 26
  },
  "hsl": {
    "h": 73.488,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64468,
    "c": 0.14893,
    "h": 122.4
  },
  "luminance": 0.27953
}

Semantic roles & 50–950 ramp

primary
#7E9B1A
secondary
#684DC4
accent
#3AEE62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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