#7B875D#7B875D

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

Color values

HEX#7B875D
RGBrgb(123, 135, 93)
HSLhsl(77, 18%, 45%)
HSVhsv(77, 31%, 53%)
CMYKcmyk(8.9%, 0%, 31.1%, 47.1%)
CIE-LABlab(54.37, -11.97, 21.18)
CIE-LCHlch(54.37, 24.33, 119.48°)
OKLaboklab(60.24% -0.0322 0.053)
OKLCHoklch(60.24% 0.062 121.2)
XYZxyz(18.8080, 22.3292, 13.6729)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B875D #695D87
analogous
#877E5D #7B875D #66875D
triadic
#7B875D #5D7B87 #875D7B
tetradic
#7B875D #5D877E #695D87 #875D66
square
#7B875D #5D877E #695D87 #875D66
split-complementary
#7B875D #5D6687 #7E5D87
monochromatic
#393F2B #5A6344 #7B875D #99A57C #B6BEA1

Accessibility & contrast

On white

3.84
#7B875D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7B875D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B875D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B875D#FFFFFF#000000##000000
##7B875D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C825A
Deuteranopia (green-blind)
#8B825F
Tritanopia (blue-blind)
#7F837C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b875d;
/* rgb */ color: rgb(123, 135, 93);
/* oklch */ color: oklch(60.2% 0.062 121.2);
Tailwind
colors: {
  custom: {
    50: '#a1aa8b',
    500: '#7b875d',
    950: '#000000',
  },
}
SCSS
$custom: #7b875d;
$custom-light: #a1aa8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b875d",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 93
  },
  "hsl": {
    "h": 77.143,
    "s": 18.421,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.06202,
    "h": 121.2
  },
  "luminance": 0.22329
}

Semantic roles & 50–950 ramp

primary
#7B875D
secondary
#9B94AC
accent
#6DBB83
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #7B875D

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

Preview Lab → · Contrast checker → · Palette generator →

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