#7C8261#7C8261

#7C8261 is a mid, muted yellow-green. Relative luminance 0.211; OKLCH L 59.3% C 0.048 H 116.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7C8261
RGBrgb(124, 130, 97)
HSLhsl(71, 15%, 45%)
HSVhsv(71, 25%, 51%)
CMYKcmyk(4.6%, 0%, 25.4%, 49%)
CIE-LABlab(53.07, -8.21, 17.17)
CIE-LCHlch(53.07, 19.03, 115.56°)
OKLaboklab(59.25% -0.0215 0.0435)
OKLCHoklch(59.25% 0.048 116.3)
XYZxyz(18.4523, 21.1135, 14.4102)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8261 #676182
analogous
#827861 #7C8261 #6C8261
triadic
#7C8261 #617C82 #82617C
tetradic
#7C8261 #618278 #676182 #82616C
square
#7C8261 #618278 #676182 #82616C
split-complementary
#7C8261 #616C82 #786182
monochromatic
#393C2D #5B5F47 #7C8261 #9AA080 #B6BAA3

Accessibility & contrast

On white

4.02
#7C8261 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7C8261 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8261
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8261#FFFFFF#000000##000000
##7C82611.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F5F
Deuteranopia (green-blind)
#867F62
Tritanopia (blue-blind)
#807E79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8261;
/* rgb */ color: rgb(124, 130, 97);
/* oklch */ color: oklch(59.3% 0.048 116.3);
Tailwind
colors: {
  custom: {
    50: '#a2a68e',
    500: '#7c8261',
    950: '#000000',
  },
}
SCSS
$custom: #7c8261;
$custom-light: #a2a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8261",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 97
  },
  "hsl": {
    "h": 70.909,
    "s": 14.537,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.04848,
    "h": 116.3
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#7C8261
secondary
#9996A9
accent
#70B77D
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7C8261

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

Preview Lab → · Contrast checker → · Palette generator →

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