#7E8A6C#7E8A6C

#7E8A6C is a mid, muted yellow-green. Relative luminance 0.237; OKLCH L 61.5% C 0.046 H 125.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7E8A6C
RGBrgb(126, 138, 108)
HSLhsl(84, 12%, 48%)
HSVhsv(84, 22%, 54%)
CMYKcmyk(8.7%, 0%, 21.7%, 45.9%)
CIE-LABlab(55.78, -10.04, 14.64)
CIE-LCHlch(55.78, 17.75, 124.44°)
OKLaboklab(61.52% -0.0266 0.0374)
OKLCHoklch(61.52% 0.046 125.5)
XYZxyz(20.3991, 23.6952, 17.6834)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A6C #786C8A
analogous
#8A876C #7E8A6C #6F8A6C
triadic
#7E8A6C #6C7E8A #8A6C7E
tetradic
#7E8A6C #6C8A87 #786C8A #8A6C6F
square
#7E8A6C #6C8A87 #786C8A #8A6C6F
split-complementary
#7E8A6C #6C6F8A #876C8A
monochromatic
#3F4536 #5F6851 #7E8A6C #9CA68D #BAC1B0

Accessibility & contrast

On white

3.66
#7E8A6C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7E8A6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A6C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A6C#FFFFFF#000000##000000
##7E8A6C1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E866A
Deuteranopia (green-blind)
#8C856D
Tritanopia (blue-blind)
#808782
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8a6c;
/* rgb */ color: rgb(126, 138, 108);
/* oklch */ color: oklch(61.5% 0.046 125.5);
Tailwind
colors: {
  custom: {
    50: '#a3ac96',
    500: '#7e8a6c',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a6c;
$custom-light: #a3ac96;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a6c",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 108
  },
  "hsl": {
    "h": 84,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.04591,
    "h": 125.5
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#7E8A6C
secondary
#A7A2B0
accent
#73B58D
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F100D
muted
#7F7F7E

Preview Lab

Preview with #7E8A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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