#7E8A5D#7E8A5D

#7E8A5D is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.2% C 0.066 H 120.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7E8A5D
RGBrgb(126, 138, 93)
HSLhsl(76, 19%, 45%)
HSVhsv(76, 33%, 54%)
CMYKcmyk(8.7%, 0%, 32.6%, 45.9%)
CIE-LABlab(55.48, -12.38, 22.70)
CIE-LCHlch(55.48, 25.86, 118.61°)
OKLaboklab(61.19% -0.0334 0.0566)
OKLCHoklch(61.19% 0.066 120.5)
XYZxyz(19.6683, 23.4029, 13.8349)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A5D #695D8A
analogous
#8A7F5D #7E8A5D #678A5D
triadic
#7E8A5D #5D7E8A #8A5D7E
tetradic
#7E8A5D #5D8A7F #695D8A #8A5D67
square
#7E8A5D #5D8A7F #695D8A #8A5D67
split-complementary
#7E8A5D #5D678A #7F5D8A
monochromatic
#3B412C #5D6544 #7E8A5D #9CA77D #B8C0A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8A5D#FFFFFF#000000##000000
##7E8A5D1.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)
#90855A
Deuteranopia (green-blind)
#8E855F
Tritanopia (blue-blind)
#82857E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e8a5d;
/* rgb */ color: rgb(126, 138, 93);
/* oklch */ color: oklch(61.2% 0.066 120.5);
Tailwind
colors: {
  custom: {
    50: '#a4ac8b',
    500: '#7e8a5d',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a5d;
$custom-light: #a4ac8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a5d",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 76,
    "s": 19.481,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.06572,
    "h": 120.5
  },
  "luminance": 0.23403
}

Semantic roles & 50–950 ramp

primary
#7E8A5D
secondary
#9B95AE
accent
#6CBC81
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7E8A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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