#7C8A46#7C8A46

#7C8A46 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.094 H 118.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7C8A46
RGBrgb(124, 138, 70)
HSLhsl(72, 33%, 41%)
HSVhsv(72, 49%, 54%)
CMYKcmyk(10.1%, 0%, 49.3%, 45.9%)
CIE-LABlab(54.97, -16.12, 34.48)
CIE-LCHlch(54.97, 38.06, 115.06°)
OKLaboklab(60.62% -0.0454 0.0824)
OKLCHoklch(60.62% 0.094 118.9)
XYZxyz(18.5063, 22.9043, 9.2392)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A46 #54468A
analogous
#8A7646 #7C8A46 #5A8A46
triadic
#7C8A46 #467C8A #8A467C
tetradic
#7C8A46 #468A76 #54468A #8A465A
square
#7C8A46 #468A76 #54468A #8A465A
split-complementary
#7C8A46 #465A8A #76468A
monochromatic
#33391D #586131 #7C8A46 #9EAE5F #B6C388

Accessibility & contrast

On white

3.76
#7C8A46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7C8A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A46
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A46#FFFFFF#000000##000000
##7C8A461.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928440
Deuteranopia (green-blind)
#90844A
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a46;
/* rgb */ color: rgb(124, 138, 70);
/* oklch */ color: oklch(60.6% 0.094 118.9);
Tailwind
colors: {
  custom: {
    50: '#a3ac7b',
    500: '#7c8a46',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a46;
$custom-light: #a3ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a46",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 72.353,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.09405,
    "h": 118.9
  },
  "luminance": 0.22904
}

Semantic roles & 50–950 ramp

primary
#7C8A46
secondary
#887EAE
accent
#5FC975
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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