#7C8A48#7C8A48

#7C8A48 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.7% C 0.092 H 119.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C8A48
RGBrgb(124, 138, 72)
HSLhsl(73, 31%, 41%)
HSVhsv(73, 48%, 54%)
CMYKcmyk(10.1%, 0%, 47.8%, 45.9%)
CIE-LABlab(55.00, -15.90, 33.47)
CIE-LCHlch(55.00, 37.05, 115.41°)
OKLaboklab(60.65% -0.0446 0.0803)
OKLCHoklch(60.65% 0.092 119.1)
XYZxyz(18.5705, 22.9300, 9.5773)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A48 #56488A
analogous
#8A7748 #7C8A48 #5B8A48
triadic
#7C8A48 #487C8A #8A487C
tetradic
#7C8A48 #488A77 #56488A #8A485B
square
#7C8A48 #488A77 #56488A #8A485B
split-complementary
#7C8A48 #485B8A #77488A
monochromatic
#343A1E #586233 #7C8A48 #9DAD62 #B6C28A

Accessibility & contrast

On white

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

On black

5.59
#7C8A48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A48
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A48#FFFFFF#000000##000000
##7C8A481.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918442
Deuteranopia (green-blind)
#90844C
Tritanopia (blue-blind)
#82847B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a48;
/* rgb */ color: rgb(124, 138, 72);
/* oklch */ color: oklch(60.7% 0.092 119.1);
Tailwind
colors: {
  custom: {
    50: '#a3ac7c',
    500: '#7c8a48',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a48;
$custom-light: #a3ac7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a48",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 72
  },
  "hsl": {
    "h": 72.727,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.60653,
    "c": 0.09183,
    "h": 119.1
  },
  "luminance": 0.2293
}

Semantic roles & 50–950 ramp

primary
#7C8A48
secondary
#8A80AE
accent
#60C876
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8A48

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

Preview Lab → · Contrast checker → · Palette generator →

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