#7E896B#7E896B

#7E896B is a mid, muted yellow-green. Relative luminance 0.234; OKLCH L 61.3% C 0.046 H 124.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7E896B
RGBrgb(126, 137, 107)
HSLhsl(82, 12%, 48%)
HSVhsv(82, 22%, 54%)
CMYKcmyk(8%, 0%, 21.9%, 46.3%)
CIE-LABlab(55.47, -9.66, 14.78)
CIE-LCHlch(55.47, 17.66, 123.17°)
OKLaboklab(61.27% -0.0255 0.0377)
OKLCHoklch(61.27% 0.046 124.1)
XYZxyz(20.2033, 23.3884, 17.3571)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E896B #766B89
analogous
#89856B #7E896B #6F896B
triadic
#7E896B #6B7E89 #896B7E
tetradic
#7E896B #6B8985 #766B89 #896B6F
square
#7E896B #6B8985 #766B89 #896B6F
split-complementary
#7E896B #6B6F89 #856B89
monochromatic
#3F4435 #5E6750 #7E896B #9CA58C #BAC0AE

Accessibility & contrast

On white

3.70
#7E896B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7E896B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E896B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E896B#FFFFFF#000000##000000
##7E896B1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8569
Deuteranopia (green-blind)
#8B856C
Tritanopia (blue-blind)
#808681
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e896b;
/* rgb */ color: rgb(126, 137, 107);
/* oklch */ color: oklch(61.3% 0.046 124.1);
Tailwind
colors: {
  custom: {
    50: '#a3ab95',
    500: '#7e896b',
    950: '#000000',
  },
}
SCSS
$custom: #7e896b;
$custom-light: #a3ab95;
$custom-dark: #000000;
JSON
{
  "hex": "#7e896b",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 107
  },
  "hsl": {
    "h": 82,
    "s": 12.295,
    "l": 47.843
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.04558,
    "h": 124.1
  },
  "luminance": 0.23388
}

Semantic roles & 50–950 ramp

primary
#7E896B
secondary
#A6A0AF
accent
#73B58B
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#0F100D
muted
#7F7F7E

Preview Lab

Preview with #7E896B

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

Preview Lab → · Contrast checker → · Palette generator →

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