#7C8A50#7C8A50

#7C8A50 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.8% C 0.083 H 120.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7C8A50
RGBrgb(124, 138, 80)
HSLhsl(74, 27%, 43%)
HSVhsv(74, 42%, 54%)
CMYKcmyk(10.1%, 0%, 42%, 45.9%)
CIE-LABlab(55.11, -14.95, 29.34)
CIE-LCHlch(55.11, 32.94, 117.00°)
OKLaboklab(60.78% -0.0413 0.0715)
OKLCHoklch(60.78% 0.083 120)
XYZxyz(18.8487, 23.0413, 11.0423)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A50 #5E508A
analogous
#8A7B50 #7C8A50 #5F8A50
triadic
#7C8A50 #507C8A #8A507C
tetradic
#7C8A50 #508A7B #5E508A #8A505F
square
#7C8A50 #508A7B #5E508A #8A505F
split-complementary
#7C8A50 #505F8A #7B508A
monochromatic
#363D23 #59633A #7C8A50 #9BAA6D #B6C194

Accessibility & contrast

On white

3.74
#7C8A50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7C8A50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A50
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A50#FFFFFF#000000##000000
##7C8A501.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844C
Deuteranopia (green-blind)
#8F8453
Tritanopia (blue-blind)
#81847C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a50;
/* rgb */ color: rgb(124, 138, 80);
/* oklch */ color: oklch(60.8% 0.083 120.0);
Tailwind
colors: {
  custom: {
    50: '#a3ac82',
    500: '#7c8a50',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a50;
$custom-light: #a3ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a50",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 80
  },
  "hsl": {
    "h": 74.483,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.08257,
    "h": 120
  },
  "luminance": 0.23041
}

Semantic roles & 50–950 ramp

primary
#7C8A50
secondary
#9188AE
accent
#65C37C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8A50

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

Preview Lab → · Contrast checker → · Palette generator →

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