#7E894E#7E894E

#7E894E is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.7% C 0.083 H 117.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E894E
RGBrgb(126, 137, 78)
HSLhsl(71, 27%, 42%)
HSVhsv(71, 43%, 54%)
CMYKcmyk(8%, 0%, 43.1%, 46.3%)
CIE-LABlab(54.95, -13.83, 30.24)
CIE-LCHlch(54.95, 33.26, 114.58°)
OKLaboklab(60.68% -0.0383 0.0734)
OKLCHoklch(60.68% 0.083 117.6)
XYZxyz(18.9251, 22.8771, 10.6250)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E894E #594E89
analogous
#89774E #7E894E #61894E
triadic
#7E894E #4E7E89 #894E7E
tetradic
#7E894E #4E8977 #594E89 #894E61
square
#7E894E #4E8977 #594E89 #894E61
split-complementary
#7E894E #4E6189 #774E89
monochromatic
#363B22 #5A6238 #7E894E #9EAA6A #B8C091

Accessibility & contrast

On white

3.77
#7E894E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7E894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E894E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E894E#FFFFFF#000000##000000
##7E894E1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#84837B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e894e;
/* rgb */ color: rgb(126, 137, 78);
/* oklch */ color: oklch(60.7% 0.083 117.6);
Tailwind
colors: {
  custom: {
    50: '#a4ab80',
    500: '#7e894e',
    950: '#000000',
  },
}
SCSS
$custom: #7e894e;
$custom-light: #a4ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e894e",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 71.186,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.08282,
    "h": 117.6
  },
  "luminance": 0.22877
}

Semantic roles & 50–950 ramp

primary
#7E894E
secondary
#8D86AD
accent
#64C476
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7E894E

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

Preview Lab → · Contrast checker → · Palette generator →

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