#7C845D#7C845D

#7C845D is a mid, muted yellow-green. Relative luminance 0.216; OKLCH L 59.6% C 0.057 H 117.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7C845D
RGBrgb(124, 132, 93)
HSLhsl(72, 17%, 44%)
HSVhsv(72, 30%, 52%)
CMYKcmyk(6.1%, 0%, 29.5%, 48.2%)
CIE-LABlab(53.58, -9.93, 20.13)
CIE-LCHlch(53.58, 22.44, 116.26°)
OKLaboklab(59.63% -0.0264 0.0505)
OKLCHoklch(59.63% 0.057 117.6)
XYZxyz(18.5391, 21.5780, 13.5421)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C845D #655D84
analogous
#84795D #7C845D #69845D
triadic
#7C845D #5D7C84 #845D7C
tetradic
#7C845D #5D8479 #655D84 #845D69
square
#7C845D #5D8479 #655D84 #845D69
split-complementary
#7C845D #5D6984 #795D84
monochromatic
#393C2A #5A6044 #7C845D #9BA27C #B6BCA0

Accessibility & contrast

On white

3.95
#7C845D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7C845D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C845D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C845D#FFFFFF#000000##000000
##7C845D1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805A
Deuteranopia (green-blind)
#88805F
Tritanopia (blue-blind)
#80807A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c845d;
/* rgb */ color: rgb(124, 132, 93);
/* oklch */ color: oklch(59.6% 0.057 117.6);
Tailwind
colors: {
  custom: {
    50: '#a2a78b',
    500: '#7c845d',
    950: '#000000',
  },
}
SCSS
$custom: #7c845d;
$custom-light: #a2a78b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c845d",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 93
  },
  "hsl": {
    "h": 72.308,
    "s": 17.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.05699,
    "h": 117.6
  },
  "luminance": 0.21578
}

Semantic roles & 50–950 ramp

primary
#7C845D
secondary
#9793AA
accent
#6EBA7D
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7C845D

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

Preview Lab → · Contrast checker → · Palette generator →

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