#7B975C#7B975C

#7B975C is a light, moderate yellow-green. Relative luminance 0.271; OKLCH L 64.0% C 0.089 H 129.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7B975C
RGBrgb(123, 151, 92)
HSLhsl(88, 24%, 48%)
HSVhsv(88, 39%, 59%)
CMYKcmyk(18.5%, 0%, 39.1%, 40.8%)
CIE-LABlab(59.08, -20.56, 27.93)
CIE-LCHlch(59.08, 34.68, 126.36°)
OKLaboklab(64.01% -0.0563 0.0688)
OKLCHoklch(64.01% 0.089 129.3)
XYZxyz(21.1665, 27.1166, 14.2420)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B975C #785C97
analogous
#97965C #7B975C #5D975C
triadic
#7B975C #5C7B97 #975C7B
tetradic
#7B975C #5C9796 #785C97 #975C5D
square
#7B975C #5C9796 #785C97 #975C5D
split-complementary
#7B975C #5C5D97 #965C97
monochromatic
#3D4B2E #5C7145 #7B975C #99B17F #B8C8A5

Accessibility & contrast

On white

3.27
#7B975C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#7B975C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B975C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B975C#FFFFFF#000000##000000
##7B975C1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8F58
Deuteranopia (green-blind)
#988E5F
Tritanopia (blue-blind)
#7D9288
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b975c;
/* rgb */ color: rgb(123, 151, 92);
/* oklch */ color: oklch(64.0% 0.089 129.3);
Tailwind
colors: {
  custom: {
    50: '#a2b58b',
    500: '#7b975c',
    950: '#000000',
  },
}
SCSS
$custom: #7b975c;
$custom-light: #a2b58b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b975c",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 92
  },
  "hsl": {
    "h": 88.475,
    "s": 24.28,
    "l": 47.647
  },
  "oklch": {
    "l": 0.64005,
    "c": 0.08891,
    "h": 129.3
  },
  "luminance": 0.27117
}

Semantic roles & 50–950 ramp

primary
#7B975C
secondary
#A799B6
accent
#67C192
background
#FAFBF8
surface
#F3F6F0
border
#CDD0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7B975C

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

Preview Lab → · Contrast checker → · Palette generator →

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