#7E975A#7E975A

#7E975A is a light, moderate yellow-green. Relative luminance 0.273; OKLCH L 64.2% C 0.090 H 126.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7E975A
RGBrgb(126, 151, 90)
HSLhsl(85, 25%, 47%)
HSVhsv(85, 40%, 59%)
CMYKcmyk(16.6%, 0%, 40.4%, 40.8%)
CIE-LABlab(59.26, -19.66, 29.27)
CIE-LCHlch(59.26, 35.26, 123.88°)
OKLaboklab(64.19% -0.054 0.0718)
OKLCHoklch(64.19% 0.09 126.9)
XYZxyz(21.5161, 27.3068, 13.8081)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E975A #735A97
analogous
#97915A #7E975A #60975A
triadic
#7E975A #5A7E97 #975A7E
tetradic
#7E975A #5A9791 #735A97 #975A60
square
#7E975A #5A9791 #735A97 #975A60
split-complementary
#7E975A #5A6097 #915A97
monochromatic
#3E4A2C #5E7143 #7E975A #9CB17D #B9C8A3

Accessibility & contrast

On white

3.25
#7E975A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#7E975A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E975A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E975A#FFFFFF#000000##000000
##7E975A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9055
Deuteranopia (green-blind)
#998E5D
Tritanopia (blue-blind)
#819288
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e975a;
/* rgb */ color: rgb(126, 151, 90);
/* oklch */ color: oklch(64.2% 0.090 126.9);
Tailwind
colors: {
  custom: {
    50: '#a4b589',
    500: '#7e975a',
    950: '#000000',
  },
}
SCSS
$custom: #7e975a;
$custom-light: #a4b589;
$custom-dark: #000000;
JSON
{
  "hex": "#7e975a",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 90
  },
  "hsl": {
    "h": 84.59,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.64189,
    "c": 0.08983,
    "h": 126.9
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E975A

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

Preview Lab → · Contrast checker → · Palette generator →

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