#7C845B#7C845B

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

Color values

HEX#7C845B
RGBrgb(124, 132, 91)
HSLhsl(72, 18%, 44%)
HSVhsv(72, 31%, 52%)
CMYKcmyk(6.1%, 0%, 31.1%, 48.2%)
CIE-LABlab(53.54, -10.22, 21.21)
CIE-LCHlch(53.54, 23.54, 115.74°)
OKLaboklab(59.59% -0.0273 0.053)
OKLCHoklch(59.59% 0.06 117.2)
XYZxyz(18.4517, 21.5431, 13.0817)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C845B #635B84
analogous
#84775B #7C845B #67845B
triadic
#7C845B #5B7C84 #845B7C
tetradic
#7C845B #5B8477 #635B84 #845B67
square
#7C845B #5B8477 #635B84 #845B67
split-complementary
#7C845B #5B6784 #775B84
monochromatic
#383C29 #5A6042 #7C845B #9BA379 #B6BC9E

Accessibility & contrast

On white

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

On black

5.31
#7C845B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C845B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C845B#FFFFFF#000000##000000
##7C845B1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#898058
Deuteranopia (green-blind)
#89805D
Tritanopia (blue-blind)
#808079
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c845b;
/* rgb */ color: rgb(124, 132, 91);
/* oklch */ color: oklch(59.6% 0.060 117.2);
Tailwind
colors: {
  custom: {
    50: '#a2a789',
    500: '#7c845b',
    950: '#000000',
  },
}
SCSS
$custom: #7c845b;
$custom-light: #a2a789;
$custom-dark: #000000;
JSON
{
  "hex": "#7c845b",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 91
  },
  "hsl": {
    "h": 71.707,
    "s": 18.386,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.05964,
    "h": 117.2
  },
  "luminance": 0.21543
}

Semantic roles & 50–950 ramp

primary
#7C845B
secondary
#9691AA
accent
#6DBB7C
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #7C845B

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

Preview Lab → · Contrast checker → · Palette generator →

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