#7E985A#7E985A

#7E985A is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.4% C 0.091 H 127.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E985A
RGBrgb(126, 152, 90)
HSLhsl(85, 26%, 47%)
HSVhsv(85, 41%, 60%)
CMYKcmyk(17.1%, 0%, 40.8%, 40.4%)
CIE-LABlab(59.55, -20.17, 29.65)
CIE-LCHlch(59.55, 35.86, 124.23°)
OKLaboklab(64.43% -0.0554 0.0727)
OKLCHoklch(64.43% 0.091 127.3)
XYZxyz(21.6777, 27.6300, 13.8619)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E985A #745A98
analogous
#98935A #7E985A #5F985A
triadic
#7E985A #5A7E98 #985A7E
tetradic
#7E985A #5A9893 #745A98 #985A5F
square
#7E985A #5A9893 #745A98 #985A5F
split-complementary
#7E985A #5A5F98 #935A98
monochromatic
#3E4B2C #5E7243 #7E985A #9CB27D #B9C9A4

Accessibility & contrast

On white

3.22
#7E985A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7E985A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E985A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E985A#FFFFFF#000000##000000
##7E985A1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9055
Deuteranopia (green-blind)
#9A8F5D
Tritanopia (blue-blind)
#819389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e985a;
/* rgb */ color: rgb(126, 152, 90);
/* oklch */ color: oklch(64.4% 0.091 127.3);
Tailwind
colors: {
  custom: {
    50: '#a4b689',
    500: '#7e985a',
    950: '#000000',
  },
}
SCSS
$custom: #7e985a;
$custom-light: #a4b689;
$custom-dark: #000000;
JSON
{
  "hex": "#7e985a",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 90
  },
  "hsl": {
    "h": 85.161,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.64426,
    "c": 0.09139,
    "h": 127.3
  },
  "luminance": 0.2763
}

Semantic roles & 50–950 ramp

primary
#7E985A
secondary
#A497B7
accent
#66C28C
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7E985A

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

Preview Lab → · Contrast checker → · Palette generator →

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