#7E8670#7E8670

#7E8670 is a mid, muted yellow-green. Relative luminance 0.227; OKLCH L 60.7% C 0.034 H 123.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7E8670
RGBrgb(126, 134, 112)
HSLhsl(82, 9%, 48%)
HSVhsv(82, 16%, 53%)
CMYKcmyk(6%, 0%, 16.4%, 47.5%)
CIE-LABlab(54.72, -7.15, 10.87)
CIE-LCHlch(54.72, 13.01, 123.34°)
OKLaboklab(60.7% -0.0187 0.028)
OKLCHoklch(60.7% 0.034 123.7)
XYZxyz(20.0535, 22.6556, 18.6426)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8670 #787086
analogous
#868370 #7E8670 #738670
triadic
#7E8670 #707E86 #86707E
tetradic
#7E8670 #708683 #787086 #867073
square
#7E8670 #708683 #787086 #867073
split-complementary
#7E8670 #707386 #837086
monochromatic
#3F4338 #5F6554 #7E8670 #9CA391 #BABFB2

Accessibility & contrast

On white

3.80
#7E8670 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7E8670 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8670
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8670#FFFFFF#000000##000000
##7E86701.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89836F
Deuteranopia (green-blind)
#888371
Tritanopia (blue-blind)
#808480
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e8670;
/* rgb */ color: rgb(126, 134, 112);
/* oklch */ color: oklch(60.7% 0.034 123.7);
Tailwind
colors: {
  custom: {
    50: '#a3a999',
    500: '#7e8670',
    950: '#000000',
  },
}
SCSS
$custom: #7e8670;
$custom-light: #a3a999;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8670",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 112
  },
  "hsl": {
    "h": 81.818,
    "s": 8.943,
    "l": 48.235
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.03366,
    "h": 123.7
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#7E8670
secondary
#A7A4AE
accent
#76B28C
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E8670

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

Preview Lab → · Contrast checker → · Palette generator →

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