#7B875A#7B875A

#7B875A is a mid, moderate yellow-green. Relative luminance 0.223; OKLCH L 60.2% C 0.066 H 120.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7B875A
RGBrgb(123, 135, 90)
HSLhsl(76, 20%, 44%)
HSVhsv(76, 33%, 53%)
CMYKcmyk(8.9%, 0%, 33.3%, 47.1%)
CIE-LABlab(54.32, -12.41, 22.79)
CIE-LCHlch(54.32, 25.95, 118.57°)
OKLaboklab(60.18% -0.0335 0.0568)
OKLCHoklch(60.18% 0.066 120.5)
XYZxyz(18.6777, 22.2771, 12.9868)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B875A #665A87
analogous
#877D5A #7B875A #65875A
triadic
#7B875A #5A7B87 #875A7B
tetradic
#7B875A #5A877D #665A87 #875A65
square
#7B875A #5A877D #665A87 #875A65
split-complementary
#7B875A #5A6587 #7D5A87
monochromatic
#383E29 #5A6242 #7B875A #9AA579 #B5BE9D

Accessibility & contrast

On white

3.85
#7B875A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7B875A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B875A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B875A#FFFFFF#000000##000000
##7B875A1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8257
Deuteranopia (green-blind)
#8B825C
Tritanopia (blue-blind)
#7F827B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b875a;
/* rgb */ color: rgb(123, 135, 90);
/* oklch */ color: oklch(60.2% 0.066 120.5);
Tailwind
colors: {
  custom: {
    50: '#a1aa89',
    500: '#7b875a',
    950: '#000000',
  },
}
SCSS
$custom: #7b875a;
$custom-light: #a1aa89;
$custom-dark: #000000;
JSON
{
  "hex": "#7b875a",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 76,
    "s": 20,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.06591,
    "h": 120.5
  },
  "luminance": 0.22277
}

Semantic roles & 50–950 ramp

primary
#7B875A
secondary
#9891AC
accent
#6BBD81
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7B875A

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

Preview Lab → · Contrast checker → · Palette generator →

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