#7E975E#7E975E

#7E975E is a light, moderate yellow-green. Relative luminance 0.274; OKLCH L 64.3% C 0.085 H 127.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E975E
RGBrgb(126, 151, 94)
HSLhsl(86, 23%, 48%)
HSVhsv(86, 38%, 59%)
CMYKcmyk(16.6%, 0%, 37.7%, 40.8%)
CIE-LABlab(59.32, -19.11, 27.20)
CIE-LCHlch(59.32, 33.24, 125.10°)
OKLaboklab(64.26% -0.0522 0.0672)
OKLCHoklch(64.26% 0.085 127.9)
XYZxyz(21.6909, 27.3768, 14.7290)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E975E #775E97
analogous
#97935E #7E975E #61975E
triadic
#7E975E #5E7E97 #975E7E
tetradic
#7E975E #5E9793 #775E97 #975E61
square
#7E975E #5E9793 #775E97 #975E61
split-complementary
#7E975E #5E6197 #935E97
monochromatic
#3F4C2F #5F7147 #7E975E #9CB181 #BAC8A7

Accessibility & contrast

On white

3.24
#7E975E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7E975E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E975E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E975E#FFFFFF#000000##000000
##7E975E1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C905A
Deuteranopia (green-blind)
#998E61
Tritanopia (blue-blind)
#819289
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e975e;
/* rgb */ color: rgb(126, 151, 94);
/* oklch */ color: oklch(64.3% 0.085 127.9);
Tailwind
colors: {
  custom: {
    50: '#a4b58c',
    500: '#7e975e',
    950: '#000000',
  },
}
SCSS
$custom: #7e975e;
$custom-light: #a4b58c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e975e",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 94
  },
  "hsl": {
    "h": 86.316,
    "s": 23.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.0851,
    "h": 127.9
  },
  "luminance": 0.27377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E975E

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

Preview Lab → · Contrast checker → · Palette generator →

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