#7B894C#7B894C

#7B894C is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.4% C 0.086 H 119.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7B894C
RGBrgb(123, 137, 76)
HSLhsl(74, 29%, 42%)
HSVhsv(74, 45%, 54%)
CMYKcmyk(10.2%, 0%, 44.5%, 46.3%)
CIE-LABlab(54.68, -15.33, 30.94)
CIE-LCHlch(54.68, 34.53, 116.36°)
OKLaboklab(60.4% -0.0426 0.0749)
OKLCHoklch(60.4% 0.086 119.6)
XYZxyz(18.4186, 22.6241, 10.2327)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B894C #5A4C89
analogous
#89794C #7B894C #5D894C
triadic
#7B894C #4C7B89 #894C7B
tetradic
#7B894C #4C8979 #5A4C89 #894C5D
square
#7B894C #4C8979 #5A4C89 #894C5D
split-complementary
#7B894C #4C5D89 #794C89
monochromatic
#343A20 #586236 #7B894C #9BAB67 #B5C18F

Accessibility & contrast

On white

3.80
#7B894C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7B894C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B894C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B894C#FFFFFF#000000##000000
##7B894C1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908347
Deuteranopia (green-blind)
#8E834F
Tritanopia (blue-blind)
#80837A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b894c;
/* rgb */ color: rgb(123, 137, 76);
/* oklch */ color: oklch(60.4% 0.086 119.6);
Tailwind
colors: {
  custom: {
    50: '#a2ab7f',
    500: '#7b894c',
    950: '#000000',
  },
}
SCSS
$custom: #7b894c;
$custom-light: #a2ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b894c",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 76
  },
  "hsl": {
    "h": 73.77,
    "s": 28.638,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60398,
    "c": 0.08616,
    "h": 119.6
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#7B894C
secondary
#8D84AD
accent
#63C579
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7B894C

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

Preview Lab → · Contrast checker → · Palette generator →

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