#7B8651#7B8651

#7B8651 is a mid, moderate yellow-green. Relative luminance 0.219; OKLCH L 59.8% C 0.076 H 118.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B8651
RGBrgb(123, 134, 81)
HSLhsl(72, 25%, 42%)
HSVhsv(72, 40%, 53%)
CMYKcmyk(8.2%, 0%, 39.6%, 47.5%)
CIE-LABlab(53.87, -13.10, 27.20)
CIE-LCHlch(53.87, 30.19, 115.71°)
OKLaboklab(59.78% -0.0359 0.0667)
OKLCHoklch(59.78% 0.076 118.3)
XYZxyz(18.1787, 21.8553, 11.0438)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8651 #5C5186
analogous
#867751 #7B8651 #618651
triadic
#7B8651 #517B86 #86517B
tetradic
#7B8651 #518677 #5C5186 #865161
square
#7B8651 #518677 #5C5186 #865161
split-complementary
#7B8651 #516186 #775186
monochromatic
#353A23 #58603A #7B8651 #9BA76D #B5BE93

Accessibility & contrast

On white

3.91
#7B8651 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7B8651 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8651
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8651#FFFFFF#000000##000000
##7B86511.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C814D
Deuteranopia (green-blind)
#8B8154
Tritanopia (blue-blind)
#808179
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b8651;
/* rgb */ color: rgb(123, 134, 81);
/* oklch */ color: oklch(59.8% 0.076 118.3);
Tailwind
colors: {
  custom: {
    50: '#a2a982',
    500: '#7b8651',
    950: '#000000',
  },
}
SCSS
$custom: #7b8651;
$custom-light: #a2a982;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8651",
  "rgb": {
    "r": 123,
    "g": 134,
    "b": 81
  },
  "hsl": {
    "h": 72.453,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.07574,
    "h": 118.3
  },
  "luminance": 0.21855
}

Semantic roles & 50–950 ramp

primary
#7B8651
secondary
#8F88AB
accent
#67C179
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7B8651

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

Preview Lab → · Contrast checker → · Palette generator →

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