#7E9749#7E9749

#7E9749 is a light, moderate yellow-green. Relative luminance 0.271; OKLCH L 63.9% C 0.109 H 124.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7E9749
RGBrgb(126, 151, 73)
HSLhsl(79, 35%, 44%)
HSVhsv(79, 52%, 59%)
CMYKcmyk(16.6%, 0%, 51.7%, 40.8%)
CIE-LABlab(59.02, -21.70, 37.85)
CIE-LCHlch(59.02, 43.63, 119.83°)
OKLaboklab(63.92% -0.0609 0.09)
OKLCHoklch(63.92% 0.109 124.1)
XYZxyz(20.8734, 27.0498, 10.4235)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9749 #624997
analogous
#978949 #7E9749 #579749
triadic
#7E9749 #497E97 #97497E
tetradic
#7E9749 #499789 #624997 #974957
square
#7E9749 #499789 #624997 #974957
split-complementary
#7E9749 #495797 #894997
monochromatic
#394421 #5C6E35 #7E9749 #9DB667 #B7CA91

Accessibility & contrast

On white

3.28
#7E9749 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7E9749 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9749
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9749#FFFFFF#000000##000000
##7E97491.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F42
Deuteranopia (green-blind)
#9B8E4E
Tritanopia (blue-blind)
#839185
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9749;
/* rgb */ color: rgb(126, 151, 73);
/* oklch */ color: oklch(63.9% 0.109 124.1);
Tailwind
colors: {
  custom: {
    50: '#a5b57e',
    500: '#7e9749',
    950: '#000000',
  },
}
SCSS
$custom: #7e9749;
$custom-light: #a5b57e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9749",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 73
  },
  "hsl": {
    "h": 79.231,
    "s": 34.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63921,
    "c": 0.10868,
    "h": 124.1
  },
  "luminance": 0.2705
}

Semantic roles & 50–950 ramp

primary
#7E9749
secondary
#9586B6
accent
#5DCB80
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9749

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

Preview Lab → · Contrast checker → · Palette generator →

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