#7E9546#7E9546

#7E9546 is a light, moderate yellow-green. Relative luminance 0.264; OKLCH L 63.4% C 0.109 H 123.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7E9546
RGBrgb(126, 149, 70)
HSLhsl(77, 36%, 43%)
HSVhsv(77, 53%, 58%)
CMYKcmyk(15.4%, 0%, 53%, 41.6%)
CIE-LABlab(58.39, -21.00, 38.61)
CIE-LCHlch(58.39, 43.95, 118.54°)
OKLaboklab(63.4% -0.0592 0.0914)
OKLCHoklch(63.4% 0.109 123)
XYZxyz(20.4572, 26.3726, 9.8059)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9546 #5D4695
analogous
#958446 #7E9546 #579546
triadic
#7E9546 #467E95 #95467E
tetradic
#7E9546 #469584 #5D4695 #954657
square
#7E9546 #469584 #5D4695 #954657
split-complementary
#7E9546 #465795 #844695
monochromatic
#38421F #5B6B32 #7E9546 #9DB663 #B7C98C

Accessibility & contrast

On white

3.35
#7E9546 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7E9546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9546
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9546#FFFFFF#000000##000000
##7E95461.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D3F
Deuteranopia (green-blind)
#9A8C4B
Tritanopia (blue-blind)
#838E83
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9546;
/* rgb */ color: rgb(126, 149, 70);
/* oklch */ color: oklch(63.4% 0.109 123.0);
Tailwind
colors: {
  custom: {
    50: '#a5b47c',
    500: '#7e9546',
    950: '#000000',
  },
}
SCSS
$custom: #7e9546;
$custom-light: #a5b47c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9546",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 70
  },
  "hsl": {
    "h": 77.468,
    "s": 36.073,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63402,
    "c": 0.1089,
    "h": 123
  },
  "luminance": 0.26373
}

Semantic roles & 50–950 ramp

primary
#7E9546
secondary
#9182B5
accent
#5CCC7C
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7E9546

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

Preview Lab → · Contrast checker → · Palette generator →

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