#7E9D1A#7E9D1A

#7E9D1A is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 65.0% C 0.151 H 123.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7E9D1A
RGBrgb(126, 157, 26)
HSLhsl(74, 72%, 36%)
HSVhsv(74, 83%, 62%)
CMYKcmyk(19.7%, 0%, 83.4%, 38.4%)
CIE-LABlab(60.45, -27.98, 58.31)
CIE-LCHlch(60.45, 64.67, 115.63°)
OKLaboklab(64.96% -0.0825 0.1268)
OKLCHoklch(64.96% 0.151 123)
XYZxyz(20.8479, 28.6240, 5.4037)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D1A #391A9D
analogous
#9D7A1A #7E9D1A #3D9D1A
triadic
#7E9D1A #1A7E9D #9D1A7E
tetradic
#7E9D1A #1A9D7A #391A9D #9D1A3D
square
#7E9D1A #1A9D7A #391A9D #9D1A3D
split-complementary
#7E9D1A #1A3D9D #7A1A9D
monochromatic
#2A3409 #546811 #7E9D1A #A8D223 #BFE24F

Accessibility & contrast

On white

3.12
#7E9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7E9D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D1A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D1A#FFFFFF#000000##000000
##7E9D1A1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#859586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d1a;
/* rgb */ color: rgb(126, 157, 26);
/* oklch */ color: oklch(65.0% 0.151 123.0);
Tailwind
colors: {
  custom: {
    50: '#a7ba65',
    500: '#7e9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d1a;
$custom-light: #a7ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d1a",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 74.198,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64955,
    "c": 0.1513,
    "h": 123
  },
  "luminance": 0.28624
}

Semantic roles & 50–950 ramp

primary
#7E9D1A
secondary
#6A4EC4
accent
#39EE64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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