#7E896F#7E896F

#7E896F is a mid, muted yellow-green. Relative luminance 0.235; OKLCH L 61.4% C 0.040 H 126.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7E896F
RGBrgb(126, 137, 111)
HSLhsl(85, 10%, 49%)
HSVhsv(85, 19%, 54%)
CMYKcmyk(8%, 0%, 19%, 46.3%)
CIE-LABlab(55.56, -8.98, 12.62)
CIE-LCHlch(55.56, 15.49, 125.44°)
OKLaboklab(61.36% -0.0237 0.0324)
OKLCHoklch(61.36% 0.04 126.2)
XYZxyz(20.4187, 23.4746, 18.4912)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E896F #7A6F89
analogous
#89876F #7E896F #71896F
triadic
#7E896F #6F7E89 #896F7E
tetradic
#7E896F #6F8987 #7A6F89 #896F71
square
#7E896F #6F8987 #7A6F89 #896F71
split-complementary
#7E896F #6F7189 #876F89
monochromatic
#404538 #5F6754 #7E896F #9CA590 #BAC1B2

Accessibility & contrast

On white

3.69
#7E896F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7E896F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E896F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E896F#FFFFFF#000000##000000
##7E896F1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C856D
Deuteranopia (green-blind)
#8A8570
Tritanopia (blue-blind)
#808682
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e896f;
/* rgb */ color: rgb(126, 137, 111);
/* oklch */ color: oklch(61.4% 0.040 126.2);
Tailwind
colors: {
  custom: {
    50: '#a3ab98',
    500: '#7e896f',
    950: '#000000',
  },
}
SCSS
$custom: #7e896f;
$custom-light: #a3ab98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e896f",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 111
  },
  "hsl": {
    "h": 85.385,
    "s": 10.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.04017,
    "h": 126.2
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

primary
#7E896F
secondary
#A9A4B0
accent
#74B38F
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100D
muted
#7F7F7E

Preview Lab

Preview with #7E896F

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

Preview Lab → · Contrast checker → · Palette generator →

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