#7B975A#7B975A

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

Color values

HEX#7B975A
RGBrgb(123, 151, 90)
HSLhsl(88, 25%, 47%)
HSVhsv(88, 40%, 59%)
CMYKcmyk(18.5%, 0%, 40.4%, 40.8%)
CIE-LABlab(59.05, -20.84, 28.96)
CIE-LCHlch(59.05, 35.68, 125.73°)
OKLaboklab(63.97% -0.0572 0.0711)
OKLCHoklch(63.97% 0.091 128.8)
XYZxyz(21.0802, 27.0821, 13.7876)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B975A #765A97
analogous
#97955A #7B975A #5D975A
triadic
#7B975A #5A7B97 #975A7B
tetradic
#7B975A #5A9795 #765A97 #975A5D
square
#7B975A #5A9795 #765A97 #975A5D
split-complementary
#7B975A #5A5D97 #955A97
monochromatic
#3D4A2C #5C7143 #7B975A #99B17D #B7C8A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B975A#FFFFFF#000000##000000
##7B975A1.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)
#9D8F55
Deuteranopia (green-blind)
#988E5D
Tritanopia (blue-blind)
#7D9288
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b975a;
/* rgb */ color: rgb(123, 151, 90);
/* oklch */ color: oklch(64.0% 0.091 128.8);
Tailwind
colors: {
  custom: {
    50: '#a2b589',
    500: '#7b975a',
    950: '#000000',
  },
}
SCSS
$custom: #7b975a;
$custom-light: #a2b589;
$custom-dark: #000000;
JSON
{
  "hex": "#7b975a",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 90
  },
  "hsl": {
    "h": 87.541,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.63969,
    "c": 0.09125,
    "h": 128.8
  },
  "luminance": 0.27082
}

Semantic roles & 50–950 ramp

primary
#7B975A
secondary
#A597B6
accent
#66C290
background
#FAFBF8
surface
#F3F6F0
border
#CDD0CB
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7B975A

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

Preview Lab → · Contrast checker → · Palette generator →

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