#7B975B#7B975B

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

Color values

HEX#7B975B
RGBrgb(123, 151, 91)
HSLhsl(88, 25%, 47%)
HSVhsv(88, 40%, 59%)
CMYKcmyk(18.5%, 0%, 39.7%, 40.8%)
CIE-LABlab(59.07, -20.70, 28.45)
CIE-LCHlch(59.07, 35.18, 126.04°)
OKLaboklab(63.99% -0.0567 0.07)
OKLCHoklch(63.99% 0.09 129)
XYZxyz(21.1230, 27.0992, 14.0133)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B975B #775B97
analogous
#97955B #7B975B #5D975B
triadic
#7B975B #5B7B97 #975B7B
tetradic
#7B975B #5B9795 #775B97 #975B5D
square
#7B975B #5B9795 #775B97 #975B5D
split-complementary
#7B975B #5B5D97 #955B97
monochromatic
#3D4B2D #5C7144 #7B975B #99B17E #B7C8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B975B#FFFFFF#000000##000000
##7B975B1.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)
#9C8F57
Deuteranopia (green-blind)
#988E5E
Tritanopia (blue-blind)
#7D9288
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b975b;
/* rgb */ color: rgb(123, 151, 91);
/* oklch */ color: oklch(64.0% 0.090 129.0);
Tailwind
colors: {
  custom: {
    50: '#a2b58a',
    500: '#7b975b',
    950: '#000000',
  },
}
SCSS
$custom: #7b975b;
$custom-light: #a2b58a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b975b",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 88,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.63987,
    "c": 0.09008,
    "h": 129
  },
  "luminance": 0.271
}

Semantic roles & 50–950 ramp

primary
#7B975B
secondary
#A698B6
accent
#67C191
background
#FAFBF8
surface
#F3F6F0
border
#CDD0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7B975B

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

Preview Lab → · Contrast checker → · Palette generator →

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