#7B845E#7B845E

#7B845E is a mid, muted yellow-green. Relative luminance 0.215; OKLCH L 59.6% C 0.056 H 119.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7B845E
RGBrgb(123, 132, 94)
HSLhsl(74, 17%, 44%)
HSVhsv(74, 29%, 52%)
CMYKcmyk(6.8%, 0%, 28.8%, 48.2%)
CIE-LABlab(53.52, -10.19, 19.46)
CIE-LCHlch(53.52, 21.97, 117.62°)
OKLaboklab(59.57% -0.0271 0.049)
OKLCHoklch(59.57% 0.056 119)
XYZxyz(18.4399, 21.5217, 13.7702)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B845E #675E84
analogous
#847A5E #7B845E #68845E
triadic
#7B845E #5E7B84 #845E7B
tetradic
#7B845E #5E847A #675E84 #845E68
square
#7B845E #5E847A #675E84 #845E68
split-complementary
#7B845E #5E6884 #7A5E84
monochromatic
#383D2B #5A6045 #7B845E #99A27D #B5BCA1

Accessibility & contrast

On white

3.96
#7B845E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7B845E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B845E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B845E#FFFFFF#000000##000000
##7B845E1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805C
Deuteranopia (green-blind)
#888060
Tritanopia (blue-blind)
#7F807A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b845e;
/* rgb */ color: rgb(123, 132, 94);
/* oklch */ color: oklch(59.6% 0.056 119.0);
Tailwind
colors: {
  custom: {
    50: '#a1a78c',
    500: '#7b845e',
    950: '#000000',
  },
}
SCSS
$custom: #7b845e;
$custom-light: #a1a78c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b845e",
  "rgb": {
    "r": 123,
    "g": 132,
    "b": 94
  },
  "hsl": {
    "h": 74.211,
    "s": 16.814,
    "l": 44.314
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.05594,
    "h": 119
  },
  "luminance": 0.21522
}

Semantic roles & 50–950 ramp

primary
#7B845E
secondary
#9994AA
accent
#6EBA80
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F0F0C
muted
#7E7F7D

Preview Lab

Preview with #7B845E

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

Preview Lab → · Contrast checker → · Palette generator →

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