#7C8F49#7C8F49

#7C8F49 is a mid, moderate yellow-green. Relative luminance 0.244; OKLCH L 61.9% C 0.098 H 121.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7C8F49
RGBrgb(124, 143, 73)
HSLhsl(76, 32%, 42%)
HSVhsv(76, 49%, 56%)
CMYKcmyk(13.3%, 0%, 49%, 43.9%)
CIE-LABlab(56.50, -18.41, 34.77)
CIE-LCHlch(56.50, 39.35, 117.90°)
OKLaboklab(61.86% -0.0516 0.0832)
OKLCHoklch(61.86% 0.098 121.8)
XYZxyz(19.3373, 24.4110, 9.9951)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F49 #5C498F
analogous
#8F7F49 #7C8F49 #598F49
triadic
#7C8F49 #497C8F #8F497C
tetradic
#7C8F49 #498F7F #5C498F #8F4959
square
#7C8F49 #498F7F #5C498F #8F4959
split-complementary
#7C8F49 #49598F #7F498F
monochromatic
#363E20 #596634 #7C8F49 #9CB065 #B6C58D

Accessibility & contrast

On white

3.57
#7C8F49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7C8F49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F49
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F49#FFFFFF#000000##000000
##7C8F491.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968843
Deuteranopia (green-blind)
#94884D
Tritanopia (blue-blind)
#81897F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f49;
/* rgb */ color: rgb(124, 143, 73);
/* oklch */ color: oklch(61.9% 0.098 121.8);
Tailwind
colors: {
  custom: {
    50: '#a3af7d',
    500: '#7c8f49',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f49;
$custom-light: #a3af7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f49",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 73
  },
  "hsl": {
    "h": 76.286,
    "s": 32.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.09793,
    "h": 121.8
  },
  "luminance": 0.24411
}

Semantic roles & 50–950 ramp

primary
#7C8F49
secondary
#8F83B1
accent
#5FC97C
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8F49

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

Preview Lab → · Contrast checker → · Palette generator →

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