#7C884B#7C884B

#7C884B is a mid, moderate yellow-green. Relative luminance 0.224; OKLCH L 60.2% C 0.086 H 118.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7C884B
RGBrgb(124, 136, 75)
HSLhsl(72, 29%, 41%)
HSVhsv(72, 45%, 53%)
CMYKcmyk(8.8%, 0%, 44.9%, 46.7%)
CIE-LABlab(54.45, -14.49, 31.20)
CIE-LCHlch(54.45, 34.40, 114.92°)
OKLaboklab(60.23% -0.0404 0.0754)
OKLCHoklch(60.23% 0.086 118.2)
XYZxyz(18.3864, 22.4015, 10.0106)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C884B #574B88
analogous
#88764B #7C884B #5E884B
triadic
#7C884B #4B7C88 #884B7C
tetradic
#7C884B #4B8876 #574B88 #884B5E
square
#7C884B #4B8876 #574B88 #884B5E
split-complementary
#7C884B #4B5E88 #764B88
monochromatic
#34391F #586135 #7C884B #9DAA66 #B6C08D

Accessibility & contrast

On white

3.83
#7C884B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7C884B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C884B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C884B#FFFFFF#000000##000000
##7C884B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8246
Deuteranopia (green-blind)
#8E834E
Tritanopia (blue-blind)
#828279
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c884b;
/* rgb */ color: rgb(124, 136, 75);
/* oklch */ color: oklch(60.2% 0.086 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3aa7e',
    500: '#7c884b',
    950: '#000000',
  },
}
SCSS
$custom: #7c884b;
$custom-light: #a3aa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c884b",
  "rgb": {
    "r": 124,
    "g": 136,
    "b": 75
  },
  "hsl": {
    "h": 71.803,
    "s": 28.91,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.08553,
    "h": 118.2
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#7C884B
secondary
#8B82AC
accent
#63C576
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C884B

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

Preview Lab → · Contrast checker → · Palette generator →

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