#7B894E#7B894E

#7B894E is a mid, moderate yellow-green. Relative luminance 0.227; OKLCH L 60.4% C 0.084 H 119.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7B894E
RGBrgb(123, 137, 78)
HSLhsl(74, 27%, 42%)
HSVhsv(74, 43%, 54%)
CMYKcmyk(10.2%, 0%, 43.1%, 46.3%)
CIE-LABlab(54.71, -15.09, 29.90)
CIE-LCHlch(54.71, 33.49, 116.77°)
OKLaboklab(60.43% -0.0418 0.0727)
OKLCHoklch(60.43% 0.084 119.9)
XYZxyz(18.4892, 22.6524, 10.6046)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B894E #5C4E89
analogous
#897A4E #7B894E #5E894E
triadic
#7B894E #4E7B89 #894E7B
tetradic
#7B894E #4E897A #5C4E89 #894E5E
square
#7B894E #4E897A #5C4E89 #894E5E
split-complementary
#7B894E #4E5E89 #7A4E89
monochromatic
#353B22 #586238 #7B894E #9BAA6A #B5C091

Accessibility & contrast

On white

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

On black

5.53
#7B894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B894E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B894E#FFFFFF#000000##000000
##7B894E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#8E8351
Tritanopia (blue-blind)
#80837B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b894e;
/* rgb */ color: rgb(123, 137, 78);
/* oklch */ color: oklch(60.4% 0.084 119.9);
Tailwind
colors: {
  custom: {
    50: '#a2ab80',
    500: '#7b894e',
    950: '#000000',
  },
}
SCSS
$custom: #7b894e;
$custom-light: #a2ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#7b894e",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 74.237,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.08381,
    "h": 119.9
  },
  "luminance": 0.22652
}

Semantic roles & 50–950 ramp

primary
#7B894E
secondary
#8F86AD
accent
#64C47B
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7B894E

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

Preview Lab → · Contrast checker → · Palette generator →

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