#7C845F#7C845F

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

Color values

HEX#7C845F
RGBrgb(124, 132, 95)
HSLhsl(73, 16%, 45%)
HSVhsv(73, 28%, 52%)
CMYKcmyk(6.1%, 0%, 28%, 48.2%)
CIE-LABlab(53.61, -9.63, 19.04)
CIE-LCHlch(53.61, 21.34, 116.82°)
OKLaboklab(59.67% -0.0255 0.048)
OKLCHoklch(59.67% 0.054 118)
XYZxyz(18.6289, 21.6139, 14.0148)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C845F #675F84
analogous
#847A5F #7C845F #6A845F
triadic
#7C845F #5F7C84 #845F7C
tetradic
#7C845F #5F847A #675F84 #845F6A
square
#7C845F #5F847A #675F84 #845F6A
split-complementary
#7C845F #5F6A84 #7A5F84
monochromatic
#393D2C #5B6045 #7C845F #9AA27E #B6BCA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C845F#FFFFFF#000000##000000
##7C845F1.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)
#89805D
Deuteranopia (green-blind)
#888061
Tritanopia (blue-blind)
#80807A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c845f;
/* rgb */ color: rgb(124, 132, 95);
/* oklch */ color: oklch(59.7% 0.054 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2a78c',
    500: '#7c845f',
    950: '#000000',
  },
}
SCSS
$custom: #7c845f;
$custom-light: #a2a78c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c845f",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 72.973,
    "s": 16.3,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.05431,
    "h": 118
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#7C845F
secondary
#9994AA
accent
#6FB97F
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7C845F

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

Preview Lab → · Contrast checker → · Palette generator →

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