#7C844A#7C844A

#7C844A is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.3% C 0.081 H 115.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7C844A
RGBrgb(124, 132, 74)
HSLhsl(68, 28%, 40%)
HSVhsv(68, 44%, 52%)
CMYKcmyk(6.1%, 0%, 43.9%, 48.2%)
CIE-LABlab(53.26, -12.46, 30.25)
CIE-LCHlch(53.26, 32.71, 112.39°)
OKLaboklab(59.27% -0.0347 0.0732)
OKLCHoklch(59.27% 0.081 115.4)
XYZxyz(17.7996, 21.2822, 9.6474)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C844A #524A84
analogous
#846F4A #7C844A #5F844A
triadic
#7C844A #4A7C84 #844A7C
tetradic
#7C844A #4A846F #524A84 #844A5F
square
#7C844A #4A846F #524A84 #844A5F
split-complementary
#7C844A #4A5F84 #6F4A84
monochromatic
#32361E #575D34 #7C844A #9EA863 #B7BE8B

Accessibility & contrast

On white

4.00
#7C844A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7C844A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C844A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C844A#FFFFFF#000000##000000
##7C844A1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F45
Deuteranopia (green-blind)
#8B804D
Tritanopia (blue-blind)
#827E76
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c844a;
/* rgb */ color: rgb(124, 132, 74);
/* oklch */ color: oklch(59.3% 0.081 115.4);
Tailwind
colors: {
  custom: {
    50: '#a3a77d',
    500: '#7c844a',
    950: '#000000',
  },
}
SCSS
$custom: #7c844a;
$custom-light: #a3a77d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c844a",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 74
  },
  "hsl": {
    "h": 68.276,
    "s": 28.155,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59268,
    "c": 0.081,
    "h": 115.4
  },
  "luminance": 0.21282
}

Semantic roles & 50–950 ramp

primary
#7C844A
secondary
#8680AA
accent
#63C471
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C844A

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

Preview Lab → · Contrast checker → · Palette generator →

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