#7C844F#7C844F

#7C844F is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.075 H 115.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7C844F
RGBrgb(124, 132, 79)
HSLhsl(69, 25%, 41%)
HSVhsv(69, 40%, 52%)
CMYKcmyk(6.1%, 0%, 40.2%, 48.2%)
CIE-LABlab(53.33, -11.85, 27.62)
CIE-LCHlch(53.33, 30.06, 113.22°)
OKLaboklab(59.35% -0.0326 0.0675)
OKLCHoklch(59.35% 0.075 115.7)
XYZxyz(17.9748, 21.3523, 10.5701)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C844F #574F84
analogous
#84724F #7C844F #62844F
triadic
#7C844F #4F7C84 #844F7C
tetradic
#7C844F #4F8472 #574F84 #844F62
square
#7C844F #4F8472 #574F84 #844F62
split-complementary
#7C844F #4F6284 #724F84
monochromatic
#343721 #585E38 #7C844F #9DA66A #B6BD91

Accessibility & contrast

On white

3.98
#7C844F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7C844F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C844F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C844F#FFFFFF#000000##000000
##7C844F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#8A8051
Tritanopia (blue-blind)
#817F77
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c844f;
/* rgb */ color: rgb(124, 132, 79);
/* oklch */ color: oklch(59.4% 0.075 115.7);
Tailwind
colors: {
  custom: {
    50: '#a3a781',
    500: '#7c844f',
    950: '#000000',
  },
}
SCSS
$custom: #7c844f;
$custom-light: #a3a781;
$custom-dark: #000000;
JSON
{
  "hex": "#7c844f",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 79
  },
  "hsl": {
    "h": 69.057,
    "s": 25.118,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.07497,
    "h": 115.7
  },
  "luminance": 0.21352
}

Semantic roles & 50–950 ramp

primary
#7C844F
secondary
#8B85AA
accent
#66C274
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C844F

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

Preview Lab → · Contrast checker → · Palette generator →

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