#7E985F#7E985F

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

Color values

HEX#7E985F
RGBrgb(126, 152, 95)
HSLhsl(87, 23%, 48%)
HSVhsv(87, 38%, 60%)
CMYKcmyk(17.1%, 0%, 37.5%, 40.4%)
CIE-LABlab(59.63, -19.49, 27.06)
CIE-LCHlch(59.63, 33.35, 125.76°)
OKLaboklab(64.52% -0.0533 0.0669)
OKLCHoklch(64.52% 0.086 128.5)
XYZxyz(21.8977, 27.7181, 15.0207)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E985F #795F98
analogous
#98955F #7E985F #61985F
triadic
#7E985F #5F7E98 #985F7E
tetradic
#7E985F #5F9895 #795F98 #985F61
square
#7E985F #5F9895 #795F98 #985F61
split-complementary
#7E985F #5F6198 #955F98
monochromatic
#404D30 #5F7247 #7E985F #9CB183 #BAC9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E985F#FFFFFF#000000##000000
##7E985F1.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)
#9D915B
Deuteranopia (green-blind)
#998F62
Tritanopia (blue-blind)
#80938A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e985f;
/* rgb */ color: rgb(126, 152, 95);
/* oklch */ color: oklch(64.5% 0.086 128.5);
Tailwind
colors: {
  custom: {
    50: '#a4b68d',
    500: '#7e985f',
    950: '#000000',
  },
}
SCSS
$custom: #7e985f;
$custom-light: #a4b68d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e985f",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 87.368,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.64517,
    "c": 0.0855,
    "h": 128.5
  },
  "luminance": 0.27718
}

Semantic roles & 50–950 ramp

primary
#7E985F
secondary
#A89CB7
accent
#68C090
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7E985F

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

Preview Lab → · Contrast checker → · Palette generator →

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