#7E985D#7E985D

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

Color values

HEX#7E985D
RGBrgb(126, 152, 93)
HSLhsl(86, 24%, 48%)
HSVhsv(86, 39%, 60%)
CMYKcmyk(17.1%, 0%, 38.8%, 40.4%)
CIE-LABlab(59.60, -19.77, 28.10)
CIE-LCHlch(59.60, 34.36, 125.12°)
OKLaboklab(64.48% -0.0541 0.0692)
OKLCHoklch(64.48% 0.088 128)
XYZxyz(21.8079, 27.6822, 14.5481)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E985D #775D98
analogous
#98955D #7E985D #60985D
triadic
#7E985D #5D7E98 #985D7E
tetradic
#7E985D #5D9895 #775D98 #985D60
square
#7E985D #5D9895 #775D98 #985D60
split-complementary
#7E985D #5D6098 #955D98
monochromatic
#3F4C2F #5F7246 #7E985D #9CB281 #BAC9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E985D#FFFFFF#000000##000000
##7E985D1.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)
#9E9159
Deuteranopia (green-blind)
#9A8F60
Tritanopia (blue-blind)
#819389
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e985d;
/* rgb */ color: rgb(126, 152, 93);
/* oklch */ color: oklch(64.5% 0.088 128.0);
Tailwind
colors: {
  custom: {
    50: '#a4b68b',
    500: '#7e985d',
    950: '#000000',
  },
}
SCSS
$custom: #7e985d;
$custom-light: #a4b68b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e985d",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 86.441,
    "s": 24.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.6448,
    "c": 0.08788,
    "h": 128
  },
  "luminance": 0.27682
}

Semantic roles & 50–950 ramp

primary
#7E985D
secondary
#A79AB7
accent
#67C18F
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7E985D

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

Preview Lab → · Contrast checker → · Palette generator →

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