#7E9948#7E9948

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

Color values

HEX#7E9948
RGBrgb(126, 153, 72)
HSLhsl(80, 36%, 44%)
HSVhsv(80, 53%, 60%)
CMYKcmyk(17.6%, 0%, 52.9%, 40%)
CIE-LABlab(59.60, -22.82, 39.05)
CIE-LCHlch(59.60, 45.23, 120.30°)
OKLaboklab(64.39% -0.0642 0.0925)
OKLCHoklch(64.39% 0.113 124.7)
XYZxyz(21.1651, 27.6858, 10.3585)
Luminance0.2769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9948 #634899
analogous
#998C48 #7E9948 #569948
triadic
#7E9948 #487E99 #99487E
tetradic
#7E9948 #48998C #634899 #994856
square
#7E9948 #48998C #634899 #994856
split-complementary
#7E9948 #485699 #8C4899
monochromatic
#394621 #5C6F34 #7E9948 #9DB767 #B7CB90

Accessibility & contrast

On white

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

On black

6.54
#7E9948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9948
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9948#FFFFFF#000000##000000
##7E99481.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09040
Deuteranopia (green-blind)
#9D8F4D
Tritanopia (blue-blind)
#839387
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9948;
/* rgb */ color: rgb(126, 153, 72);
/* oklch */ color: oklch(64.4% 0.113 124.7);
Tailwind
colors: {
  custom: {
    50: '#a5b77d',
    500: '#7e9948',
    950: '#000000',
  },
}
SCSS
$custom: #7e9948;
$custom-light: #a5b77d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9948",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 72
  },
  "hsl": {
    "h": 80,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64387,
    "c": 0.11259,
    "h": 124.7
  },
  "luminance": 0.27686
}

Semantic roles & 50–950 ramp

primary
#7E9948
secondary
#9686B7
accent
#5CCC81
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9948

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

Preview Lab → · Contrast checker → · Palette generator →

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