#7E985E#7E985E

#7E985E is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.5% C 0.087 H 128.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7E985E
RGBrgb(126, 152, 94)
HSLhsl(87, 24%, 48%)
HSVhsv(87, 38%, 60%)
CMYKcmyk(17.1%, 0%, 38.2%, 40.4%)
CIE-LABlab(59.62, -19.63, 27.58)
CIE-LCHlch(59.62, 33.85, 125.44°)
OKLaboklab(64.5% -0.0537 0.0681)
OKLCHoklch(64.5% 0.087 128.3)
XYZxyz(21.8525, 27.7000, 14.7829)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E985E #785E98
analogous
#98955E #7E985E #61985E
triadic
#7E985E #5E7E98 #985E7E
tetradic
#7E985E #5E9895 #785E98 #985E61
square
#7E985E #5E9895 #785E98 #985E61
split-complementary
#7E985E #5E6198 #955E98
monochromatic
#3F4C2F #5F7247 #7E985E #9CB282 #BAC9A8

Accessibility & contrast

On white

3.21
#7E985E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7E985E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E985E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E985E#FFFFFF#000000##000000
##7E985E1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D915A
Deuteranopia (green-blind)
#9A8F61
Tritanopia (blue-blind)
#819389
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e985e;
/* rgb */ color: rgb(126, 152, 94);
/* oklch */ color: oklch(64.5% 0.087 128.3);
Tailwind
colors: {
  custom: {
    50: '#a4b68c',
    500: '#7e985e',
    950: '#000000',
  },
}
SCSS
$custom: #7e985e;
$custom-light: #a4b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e985e",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 86.897,
    "s": 23.577,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64498,
    "c": 0.08669,
    "h": 128.3
  },
  "luminance": 0.277
}

Semantic roles & 50–950 ramp

primary
#7E985E
secondary
#A79BB7
accent
#68C08F
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7E985E

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

Preview Lab → · Contrast checker → · Palette generator →

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