#7D975B#7D975B

#7D975B is a light, moderate yellow-green. Relative luminance 0.272; OKLCH L 64.1% C 0.089 H 127.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7D975B
RGBrgb(125, 151, 91)
HSLhsl(86, 25%, 47%)
HSVhsv(86, 40%, 59%)
CMYKcmyk(17.2%, 0%, 39.7%, 40.8%)
CIE-LABlab(59.20, -19.92, 28.65)
CIE-LCHlch(59.20, 34.89, 124.81°)
OKLaboklab(64.13% -0.0546 0.0704)
OKLCHoklch(64.13% 0.089 127.8)
XYZxyz(21.4121, 27.2483, 14.0269)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D975B #755B97
analogous
#97935B #7D975B #5F975B
triadic
#7D975B #5B7D97 #975B7D
tetradic
#7D975B #5B9793 #755B97 #975B5F
square
#7D975B #5B9793 #755B97 #975B5F
split-complementary
#7D975B #5B5F97 #935B97
monochromatic
#3E4B2D #5D7144 #7D975B #9BB17E #B9C8A4

Accessibility & contrast

On white

3.26
#7D975B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7D975B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D975B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D975B#FFFFFF#000000##000000
##7D975B1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9057
Deuteranopia (green-blind)
#998E5E
Tritanopia (blue-blind)
#809288
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d975b;
/* rgb */ color: rgb(125, 151, 91);
/* oklch */ color: oklch(64.1% 0.089 127.8);
Tailwind
colors: {
  custom: {
    50: '#a3b58a',
    500: '#7d975b',
    950: '#000000',
  },
}
SCSS
$custom: #7d975b;
$custom-light: #a3b58a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d975b",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 86,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.08912,
    "h": 127.8
  },
  "luminance": 0.27249
}

Semantic roles & 50–950 ramp

primary
#7D975B
secondary
#A598B6
accent
#67C18E
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7D975B

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

Preview Lab → · Contrast checker → · Palette generator →

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