#7E9946#7E9946

#7E9946 is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.4% C 0.115 H 124.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E9946
RGBrgb(126, 153, 70)
HSLhsl(80, 37%, 44%)
HSVhsv(80, 54%, 60%)
CMYKcmyk(17.6%, 0%, 54.2%, 40%)
CIE-LABlab(59.58, -23.02, 40.01)
CIE-LCHlch(59.58, 46.16, 119.91°)
OKLaboklab(64.36% -0.0649 0.0944)
OKLCHoklch(64.36% 0.115 124.5)
XYZxyz(21.1009, 27.6601, 10.0204)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9946 #614699
analogous
#998A46 #7E9946 #549946
triadic
#7E9946 #467E99 #99467E
tetradic
#7E9946 #46998A #614699 #994654
square
#7E9946 #46998A #614699 #994654
split-complementary
#7E9946 #465499 #8A4699
monochromatic
#394520 #5B6F33 #7E9946 #9DB864 #B7CB8E

Accessibility & contrast

On white

3.21
#7E9946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7E9946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9946
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9946#FFFFFF#000000##000000
##7E99461.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1903E
Deuteranopia (green-blind)
#9D8F4B
Tritanopia (blue-blind)
#839286
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9946;
/* rgb */ color: rgb(126, 153, 70);
/* oklch */ color: oklch(64.4% 0.115 124.5);
Tailwind
colors: {
  custom: {
    50: '#a5b77c',
    500: '#7e9946',
    950: '#000000',
  },
}
SCSS
$custom: #7e9946;
$custom-light: #a5b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9946",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 70
  },
  "hsl": {
    "h": 79.518,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.11459,
    "h": 124.5
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#7E9946
secondary
#9584B7
accent
#5BCD80
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9946

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

Preview Lab → · Contrast checker → · Palette generator →

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